diff --git a/clusters/nerc-ocp-obs/grafana/application.yaml b/clusters/nerc-ocp-obs/grafana/application.yaml new file mode 100644 index 0000000..2633117 --- /dev/null +++ b/clusters/nerc-ocp-obs/grafana/application.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: grafana + labels: + nerc.mghpcc.org/sync-policy: common +spec: + project: default + source: + repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git + targetRevision: HEAD + path: grafana/overlays/nerc-ocp-obs + destination: + name: nerc-ocp-obs + namespace: grafana + ignoreDifferences: + - kind: Secret + name: grafana-serviceaccount-token + namespace: grafana + jsonPointers: + - /data diff --git a/clusters/nerc-ocp-obs/grafana/kustomization.yaml b/clusters/nerc-ocp-obs/grafana/kustomization.yaml new file mode 100644 index 0000000..1f43d0d --- /dev/null +++ b/clusters/nerc-ocp-obs/grafana/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml diff --git a/clusters/nerc-ocp-obs/kustomization.yaml b/clusters/nerc-ocp-obs/kustomization.yaml index 8d76f46..6ff5d75 100644 --- a/clusters/nerc-ocp-obs/kustomization.yaml +++ b/clusters/nerc-ocp-obs/kustomization.yaml @@ -6,7 +6,7 @@ resources: - dex - loki - fake-metrics-server - +- grafana nameSuffix: -obs