From 99d376831925efd369213b055307035b7182b08c Mon Sep 17 00:00:00 2001 From: Damien Chomat Date: Tue, 15 Oct 2024 21:52:53 +0200 Subject: [PATCH] chore: add v1 VM preferences (#94) --- gitops/components/kubevirt/kustomize/kustomization.yaml | 2 ++ gitops/components/kubevirt/kustomize/resources.yaml | 2 +- .../kustomize/vm-preferences-v1/kustomization.yaml | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 gitops/components/kubevirt/kustomize/vm-preferences-v1/kustomization.yaml diff --git a/gitops/components/kubevirt/kustomize/kustomization.yaml b/gitops/components/kubevirt/kustomize/kustomization.yaml index 7f5249f..fddf822 100644 --- a/gitops/components/kubevirt/kustomize/kustomization.yaml +++ b/gitops/components/kubevirt/kustomize/kustomization.yaml @@ -4,6 +4,8 @@ kind: Kustomization resources: - ./operators - ./resources.yaml + - https://github.com/kubevirt/common-instancetypes//VirtualMachineClusterPreferences?ref=v0.4.0 + - ./vm-preferences-v1 patches: - target: diff --git a/gitops/components/kubevirt/kustomize/resources.yaml b/gitops/components/kubevirt/kustomize/resources.yaml index bb66fc4..d52463e 100644 --- a/gitops/components/kubevirt/kustomize/resources.yaml +++ b/gitops/components/kubevirt/kustomize/resources.yaml @@ -49,9 +49,9 @@ spec: - CPUManager - NUMA - Sidecar - - CommonInstancetypesDeploymentGate - VMExport - LiveMigration +# - CommonInstancetypesDeploymentGate customizeComponents: patches: - resourceType: Deployment diff --git a/gitops/components/kubevirt/kustomize/vm-preferences-v1/kustomization.yaml b/gitops/components/kubevirt/kustomize/vm-preferences-v1/kustomization.yaml new file mode 100644 index 0000000..c6e0e65 --- /dev/null +++ b/gitops/components/kubevirt/kustomize/vm-preferences-v1/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +nameSuffix: -v1 + +resources: + - https://github.com/kubevirt/common-instancetypes//VirtualMachineClusterPreferences?ref=v1.1.0