From e47f2fb9a42ad58e14a0e80f4babdd849c2b37b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8B/Thor=28sten=29=3F/=20Schwesig?= <89909507+schwesig@users.noreply.github.com> Date: Wed, 6 Mar 2024 17:01:41 -0500 Subject: [PATCH] feat: Adding grafana ArgoCD app on obs cluster (#46) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need Grafana on the obs cluster for observability that is not behind the VPN. Signed-off-by: ​/Thor(sten)?/ Schwesig <89909507+schwesig@users.noreply.github.com> --- .../nerc-ocp-obs/grafana/application.yaml | 21 +++++++++++++++++++ .../nerc-ocp-obs/grafana/kustomization.yaml | 4 ++++ clusters/nerc-ocp-obs/kustomization.yaml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 clusters/nerc-ocp-obs/grafana/application.yaml create mode 100644 clusters/nerc-ocp-obs/grafana/kustomization.yaml 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