Skip to content

Commit

Permalink
Adding support for OpenShift Virtualization in test cluster
Browse files Browse the repository at this point in the history
As documented in the Red Hat OpenShift Virtualization docs[1].

Closes nerc-project/operations#489
  • Loading branch information
computate committed Sep 4, 2024
1 parent 03b941f commit 520e393
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
16 changes: 16 additions & 0 deletions clusters/lib/virt/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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 520e393

Please sign in to comment.