Skip to content

Commit

Permalink
Add top-level app for hypershift1 cluster
Browse files Browse the repository at this point in the history
This will get picked up by the nerc-cluster-aoa applicationset and
transformed into the hypershift1-aoa application.
  • Loading branch information
larsks committed May 13, 2024
1 parent 7585a3b commit c7ffdcc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Empty file added clusters/hypershift1/.gitkeep
Empty file.
34 changes: 34 additions & 0 deletions clusters/hypershift1/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: -hypershift1

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: hypershift1
- target:
kind: Application
name: cluster-scope
patch: |
- op: replace
path: /spec/source/path
value: cluster-scope/overlays/hypershift1

0 comments on commit c7ffdcc

Please sign in to comment.