diff --git a/manifests/function/grafana/helmrelease.yaml b/manifests/function/grafana/helmrelease.yaml new file mode 100644 index 000000000..acc5328bd --- /dev/null +++ b/manifests/function/grafana/helmrelease.yaml @@ -0,0 +1,19 @@ +apiVersion: "helm.toolkit.fluxcd.io/v2beta1" +kind: HelmRelease +metadata: + name: grafana +spec: + releaseName: grafana + interval: 5m + chart: + spec: + chart: grafana + sourceRef: + kind: HelmRepository + name: grafana + version: 6.1.0 + interval: 1m + timeout: 5m + # Reference values at + # https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml + values: {} diff --git a/manifests/function/grafana/helmrepository.yaml b/manifests/function/grafana/helmrepository.yaml new file mode 100644 index 000000000..69a881349 --- /dev/null +++ b/manifests/function/grafana/helmrepository.yaml @@ -0,0 +1,7 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: grafana +spec: + url: https://grafana.github.io/helm-charts + interval: 10m diff --git a/manifests/function/grafana/kustomization.yaml b/manifests/function/grafana/kustomization.yaml new file mode 100644 index 000000000..25a9bbac8 --- /dev/null +++ b/manifests/function/grafana/kustomization.yaml @@ -0,0 +1,3 @@ +resources: + - helmrepository.yaml + - helmrelease.yaml diff --git a/manifests/function/kube-prometheus-stack/helmrelease.yaml b/manifests/function/kube-prometheus-stack/helmrelease.yaml new file mode 100644 index 000000000..b18ce8603 --- /dev/null +++ b/manifests/function/kube-prometheus-stack/helmrelease.yaml @@ -0,0 +1,19 @@ +apiVersion: "helm.toolkit.fluxcd.io/v2beta1" +kind: HelmRelease +metadata: + name: kube-prometheus-stack +spec: + releaseName: kube-prometheus-stack + interval: 5m + chart: + spec: + chart: kube-prometheus-stack + sourceRef: + kind: HelmRepository + name: prometheus-community + version: 12.8.0 + interval: 1m + timeout: 5m + # Reference values at + # https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml + values: {} diff --git a/manifests/function/kube-prometheus-stack/helmrepository.yaml b/manifests/function/kube-prometheus-stack/helmrepository.yaml new file mode 100644 index 000000000..4b244b18b --- /dev/null +++ b/manifests/function/kube-prometheus-stack/helmrepository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: monitoring +spec: + url: https://prometheus-community.github.io/helm-charts + interval: 10m \ No newline at end of file diff --git a/manifests/function/kube-prometheus-stack/kustomization.yaml b/manifests/function/kube-prometheus-stack/kustomization.yaml new file mode 100644 index 000000000..1f8f8d4b1 --- /dev/null +++ b/manifests/function/kube-prometheus-stack/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrepository.yaml + - helmrelease.yaml + +namespace: monitoring diff --git a/manifests/function/logging-operator/helmrelease.yaml b/manifests/function/logging-operator/helmrelease.yaml new file mode 100644 index 000000000..dbb099b61 --- /dev/null +++ b/manifests/function/logging-operator/helmrelease.yaml @@ -0,0 +1,22 @@ +apiVersion: "helm.toolkit.fluxcd.io/v2beta1" +kind: HelmRelease +metadata: + name: logging-operator + namespace: logging +spec: + releaseName: logging-operator + interval: 5m + chart: + spec: + chart: logging-operator + sourceRef: + kind: HelmRepository + name: banzaicloud + version: 3.8.3 + interval: 1m + timeout: 5m + # Reference values at + # https://github.com/banzaicloud/logging-operator/blob/master/charts/logging-operator/values.yaml + values: + # Use `createCustomResource=false` with Helm v3 + createCustomResource: false diff --git a/manifests/function/logging-operator/helmrepository.yaml b/manifests/function/logging-operator/helmrepository.yaml new file mode 100644 index 000000000..7a1eced55 --- /dev/null +++ b/manifests/function/logging-operator/helmrepository.yaml @@ -0,0 +1,7 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: banzaicloud +spec: + url: https://kubernetes-charts.banzaicloud.com + interval: 10m diff --git a/manifests/function/logging-operator/kustomization.yaml b/manifests/function/logging-operator/kustomization.yaml new file mode 100644 index 000000000..2e8ba2676 --- /dev/null +++ b/manifests/function/logging-operator/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrepository.yaml + - helmrelease.yaml + +namespace: logging