Skip to content

Commit

Permalink
Adding ArgoCD Application for nerc-ocp-obs Obsebrvability cluster
Browse files Browse the repository at this point in the history
This will manage the cluster-scope for the new Observability cluster.
  • Loading branch information
computate committed Jan 22, 2024
1 parent ffe0c60 commit 8386e17
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions clusters/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../lib/cluster-scope

nameSuffix: -obs

patches:
- target:
kind: Application
labelSelector: "nerc.mghpcc.org/sync-policy=common"
patch: |
- op: add
path: /spec/syncPolicy
value:
automated:
selfHeal: true
syncOptions:
- ApplyOutOfSyncOnly=true
- target:
kind: Application
patch: |
- op: replace
path: /spec/destination/name
value: nerc-ocp-obs
- target:
kind: Application
name: cluster-scope
patch: |
- op: replace
path: /spec/source/path
value: cluster-scope/overlays/nerc-ocp-obs

0 comments on commit 8386e17

Please sign in to comment.