Skip to content

Commit

Permalink
Merge pull request #54 from computate/test-virt
Browse files Browse the repository at this point in the history
Adding support for OpenShift Virtualization in test cluster
  • Loading branch information
jtriley authored Sep 4, 2024
2 parents 03b941f + ea1881d commit 5f22dfc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions clusters/lib/virt/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: virt
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: SET IN OVERLAY
destination:
name: SET IN OVERLAY
namespace: openshift-cnv
4 changes: 4 additions & 0 deletions clusters/lib/virt/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-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resources:
- ../lib/nfd-operator
- ../lib/nvidia-gpu-operator
- ../lib/logging
- ../lib/virt

nameSuffix: -test

Expand Down Expand Up @@ -59,3 +60,11 @@ patches:
- op: replace
path: /spec/source/path
value: logging/overlays/nerc-ocp-test
- target:
kind: Application
name: virt
patch: |
- op: replace
path: /spec/source/path
value: virt/overlays/nerc-ocp-test

0 comments on commit 5f22dfc

Please sign in to comment.