Skip to content

Commit

Permalink
Merge pull request #55 from OCP-on-NERC/ocp-test-nfs-plus-csi-driver-nfs
Browse files Browse the repository at this point in the history
nerc-ocp-test: add nfs and csi-driver-nfs apps
  • Loading branch information
jtriley authored Sep 24, 2024
2 parents 5f22dfc + 1dcfeac commit 1d4de09
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
15 changes: 15 additions & 0 deletions clusters/lib/csi-driver-nfs/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: csi-driver-nfs
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: csi-driver-nfs
4 changes: 4 additions & 0 deletions clusters/lib/csi-driver-nfs/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
15 changes: 15 additions & 0 deletions clusters/lib/nfs/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nfs
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: nfs
4 changes: 4 additions & 0 deletions clusters/lib/nfs/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
18 changes: 18 additions & 0 deletions clusters/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ resources:
- ../lib/nvidia-gpu-operator
- ../lib/logging
- ../lib/virt
- ../lib/nfs
- ../lib/csi-driver-nfs

nameSuffix: -test

Expand Down Expand Up @@ -68,3 +70,19 @@ patches:
- op: replace
path: /spec/source/path
value: virt/overlays/nerc-ocp-test
- target:
kind: Application
name: nfs
patch: |
- op: replace
path: /spec/source/path
value: nfs/overlays/nerc-ocp-test
- target:
kind: Application
name: csi-driver-nfs
patch: |
- op: replace
path: /spec/source/path
value: csi-driver-nfs/overlays/nerc-ocp-test

0 comments on commit 1d4de09

Please sign in to comment.