Skip to content

Commit

Permalink
move GPU cluster policy to argocd app
Browse files Browse the repository at this point in the history
The NVIDIA GPU Cluster Policy resource is a CRD provided by the GPU
operator which means it needs to be defined outside of the cluster
scope to avoid the chicken-and-egg problem.
  • Loading branch information
jtriley committed Sep 28, 2023
1 parent 994a084 commit e520046
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion cluster-scope/overlays/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ resources:
- machineconfigs/configure-bond0
- nodenetworkconfigurationpolicies/vlan-2175-nese.yaml
- secretstores
- clusterpolicies

patches:
- path: oauths/cluster_patch.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: nvidia-gpu-operator
resources:
- gpu-cluster-policy.yaml
5 changes: 5 additions & 0 deletions nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: nvidia-gpu-operator
resources:
- ../../base
5 changes: 5 additions & 0 deletions nvidia-gpu-operator/overlays/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: nvidia-gpu-operator
resources:
- ../../base

0 comments on commit e520046

Please sign in to comment.