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

nerc-ocp-test: add nfs and csi-driver-nfs apps #55

Merged
merged 2 commits into from
Sep 24, 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
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