diff --git a/clusters/lib/csi-driver-nfs/application.yaml b/clusters/lib/csi-driver-nfs/application.yaml new file mode 100644 index 0000000..c798102 --- /dev/null +++ b/clusters/lib/csi-driver-nfs/application.yaml @@ -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 diff --git a/clusters/lib/csi-driver-nfs/kustomization.yaml b/clusters/lib/csi-driver-nfs/kustomization.yaml new file mode 100644 index 0000000..977dcfe --- /dev/null +++ b/clusters/lib/csi-driver-nfs/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - application.yaml diff --git a/clusters/lib/nfs/application.yaml b/clusters/lib/nfs/application.yaml new file mode 100644 index 0000000..3471c5b --- /dev/null +++ b/clusters/lib/nfs/application.yaml @@ -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 diff --git a/clusters/lib/nfs/kustomization.yaml b/clusters/lib/nfs/kustomization.yaml new file mode 100644 index 0000000..977dcfe --- /dev/null +++ b/clusters/lib/nfs/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - application.yaml diff --git a/clusters/nerc-ocp-test/kustomization.yaml b/clusters/nerc-ocp-test/kustomization.yaml index f5ea989..021b34d 100644 --- a/clusters/nerc-ocp-test/kustomization.yaml +++ b/clusters/nerc-ocp-test/kustomization.yaml @@ -6,6 +6,8 @@ resources: - ../lib/nvidia-gpu-operator - ../lib/logging - ../lib/virt + - ../lib/nfs + - ../lib/csi-driver-nfs nameSuffix: -test @@ -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