Skip to content

Commit

Permalink
feat: Adding grafana ArgoCD app on obs cluster
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
schwesig committed Mar 6, 2024
1 parent d2b1187 commit a9243d8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
21 changes: 21 additions & 0 deletions clusters/nerc-ocp-obs/grafana/application.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions clusters/nerc-ocp-obs/grafana/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
2 changes: 1 addition & 1 deletion clusters/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- dex
- loki
- fake-metrics-server

- grafana

nameSuffix: -obs

Expand Down

0 comments on commit a9243d8

Please sign in to comment.