Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add top-level app for hypershift1 cluster #51

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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