Skip to content

Commit

Permalink
fix: Guard ciphertrust vm creation based on whether its on cluster or…
Browse files Browse the repository at this point in the history
… not

Signed-off-by: Chris Butler <[email protected]>
  • Loading branch information
butler54 committed Jun 17, 2024
1 parent 3e52061 commit 3b2a602
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion charts/all/cipher-trust-manager/templates/ctm-vm-test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.global.ecp.ctm.onCluster -}}
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
Expand Down Expand Up @@ -44,4 +45,5 @@ spec:
volumes:
- dataVolume:
name: ciphertrust-dv
name: datavolumedisk2
name: datavolumedisk2
{{- end -}}
2 changes: 1 addition & 1 deletion hcp-tests/sample-kubevirt-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: clustertemplate.openshift.io/v1alpha1
kind: ClusterTemplateInstance
metadata:
name: hsclsempty
namespace: clusters
namespace: cluster
spec:
clusterTemplateRef: hypershift-cluster

0 comments on commit 3b2a602

Please sign in to comment.