From ce5653457953fcd9060e283013005bed701bd153 Mon Sep 17 00:00:00 2001 From: Yaroslav Borbat <86148689+yaroslavborbat@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:02:10 +0300 Subject: [PATCH] feat(core, kubevirt): disable kubevirt exportproxy (#479) Remove FeatureGate VMExport from kubevirt config. Remove patches related to exportproxy. Signed-off-by: yaroslavborbat --- templates/kubevirt/kubevirt.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/templates/kubevirt/kubevirt.yaml b/templates/kubevirt/kubevirt.yaml index a4e309c8e2..e9d8ba7a6c 100644 --- a/templates/kubevirt/kubevirt.yaml +++ b/templates/kubevirt/kubevirt.yaml @@ -29,14 +29,12 @@ spec: evictionStrategy: LiveMigrate developerConfiguration: featureGates: - - Macvtap - HotplugVolumes - GPU - Snapshot - ExpandDisks - Root - VMLiveUpdateFeatures - - VMExport - CPUManager - Sidecar - VolumeSnapshotDataSource @@ -67,10 +65,6 @@ spec: resourceName: virt-handler patch: '[{"op":"replace","path":"/spec/template/spec/tolerations","value":{{ $tolerationsAnyNode }}}]' type: json - - resourceType: Deployment - resourceName: virt-exportproxy - patch: '[{"op":"replace","path":"/spec/replicas","value":0}]' - type: json {{- if (include "helm_lib_ha_enabled" .) }} - resourceType: Deployment resourceName: virt-api @@ -104,11 +98,6 @@ spec: patch: {{ include "kube_api_rewriter.pod_spec_strategic_patch_json" (list . "virt-handler") }} type: strategic - - resourceName: virt-exportproxy - resourceType: Deployment - patch: {{ include "kube_api_rewriter.pod_spec_strategic_patch_json" (list . "exportproxy") }} - type: strategic - # Add rewriter proxy container port to Services used by webhook configurations. # First need to set name for existing port to make strategic patch works later. - resourceName: virt-api @@ -199,10 +188,6 @@ spec: resourceName: virt-controller patch: {{ include "pod_spec_priotity_class_name_patch" $priorityClassName }} type: strategic - - resourceType: Deployment - resourceName: virt-exportproxy - patch: {{ include "pod_spec_priotity_class_name_patch" $priorityClassName }} - type: strategic - resourceType: DaemonSet resourceName: virt-handler patch: {{ include "pod_spec_priotity_class_name_patch" $priorityClassName }}