Skip to content

Commit

Permalink
feat(core, kubevirt): disable kubevirt exportproxy (#479)
Browse files Browse the repository at this point in the history
Remove FeatureGate VMExport from kubevirt config.
Remove patches related to exportproxy.

Signed-off-by: yaroslavborbat <[email protected]>
  • Loading branch information
yaroslavborbat authored and danilrwx committed Nov 5, 2024
1 parent 974dd0e commit ce56534
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions templates/kubevirt/kubevirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ spec:
evictionStrategy: LiveMigrate
developerConfiguration:
featureGates:
- Macvtap
- HotplugVolumes
- GPU
- Snapshot
- ExpandDisks
- Root
- VMLiveUpdateFeatures
- VMExport
- CPUManager
- Sidecar
- VolumeSnapshotDataSource
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit ce56534

Please sign in to comment.