From 04f071fedd705c2b32fd6e690f859a9887afc63e Mon Sep 17 00:00:00 2001 From: Andrei Kartashov Date: Sun, 24 Sep 2023 11:09:50 +0700 Subject: [PATCH] grafana-operator --- .../grafana-operator/application.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 state/gullfaxi/system/observability/grafana-operator/application.yaml diff --git a/state/gullfaxi/system/observability/grafana-operator/application.yaml b/state/gullfaxi/system/observability/grafana-operator/application.yaml new file mode 100644 index 0000000..d04b780 --- /dev/null +++ b/state/gullfaxi/system/observability/grafana-operator/application.yaml @@ -0,0 +1,40 @@ +# have to add repo because oci:// prefix is not supported in repoURL +# https://github.com/argoproj/argo-cd/issues/10823 +--- +apiVersion: v1 +kind: Secret +type: Opaque +metadata: + name: grafana-operator + labels: + argocd.argoproj.io/secret-type: repository +stringData: + name: grafana-operator + type: helm + enableOci: "true" + url: ghcr.io/grafana-operator/helm-charts +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: grafana-operator + labels: + stack: observability +spec: + destination: + server: https://kubernetes.default.svc + namespace: grafana-operator + project: system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + source: + repoURL: ghcr.io/grafana-operator/helm-charts + chart: grafana-operator + targetRevision: v5.4.1 + helm: + values: | + # https://github.com/grafana-operator/grafana-operator/tree/master/deploy/helm/grafana-operator