Skip to content

Commit

Permalink
Merge pull request #32 from OCP-on-NERC/nvidia-gpu-operator-app
Browse files Browse the repository at this point in the history
add nvidia-gpu-operator app
  • Loading branch information
jtriley authored Sep 28, 2023
2 parents e7357e4 + d2a5f53 commit bde2e93
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
15 changes: 15 additions & 0 deletions clusters/lib/nvidia-gpu-operator/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nvidia-gpu-operator
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: REPLACEME
destination:
name: REPLACEME
namespace: nvidia-gpu-operator
4 changes: 4 additions & 0 deletions clusters/lib/nvidia-gpu-operator/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
9 changes: 9 additions & 0 deletions clusters/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- ../lib/ceph-exporter
- ../lib/gatekeeper
- ../lib/nfd-operator
- ../lib/nvidia-gpu-operator
- gatekeeper-policy
- acct-mgt
- fake-metrics-server
Expand Down Expand Up @@ -81,3 +82,11 @@ patches:
- op: replace
path: /spec/source/path
value: nfd-operator/overlays/nerc-ocp-prod
- target:
kind: Application
name: nvidia-gpu-operator
patch: |
- op: replace
path: /spec/source/path
value: nvidia-gpu-operator/overlays/nerc-ocp-prod
9 changes: 9 additions & 0 deletions clusters/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Kustomization
resources:
- ../lib/cluster-scope
- ../lib/nfd-operator
- ../lib/nvidia-gpu-operator
- curator
- koku-metrics-operator

Expand Down Expand Up @@ -43,3 +44,11 @@ patches:
- op: replace
path: /spec/source/path
value: nfd-operator/overlays/nerc-ocp-test
- target:
kind: Application
name: nvidia-gpu-operator
patch: |
- op: replace
path: /spec/source/path
value: nvidia-gpu-operator/overlays/nerc-ocp-test

0 comments on commit bde2e93

Please sign in to comment.