Skip to content

Commit

Permalink
Remove VPA for the csi-driver-manila-node DaemonSet
Browse files Browse the repository at this point in the history
  • Loading branch information
ialidzhikov committed Dec 18, 2024
1 parent 0a6c686 commit 733f44a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ images:
csi-node-driver-registrar: image-repository:image-tag
csi-liveness-probe: image-repository:image-tag

vpaEnabled: false
dnsPolicy: ClusterFirstWithHostNet # available values: Default, ClusterFirstWithHostNet, ClusterFirst
timeout: 3m

Expand Down Expand Up @@ -41,12 +40,6 @@ resources:
cpu: 11m
memory: 32Mi

vpa:
resourcePolicy:
livenessProbe: {}
driverNode: {}
nodeDriverRegistrar: {}

# Enabled Manila share protocols
nfs:
fsGroupPolicy: None
Expand Down
3 changes: 0 additions & 3 deletions pkg/controller/controlplane/valuesprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ var (
{Type: &corev1.ServiceAccount{}, Name: openstack.CSIManilaNodeName},
{Type: &rbacv1.ClusterRole{}, Name: openstack.UsernamePrefix + openstack.CSIManilaNodeName},
{Type: &rbacv1.ClusterRoleBinding{}, Name: openstack.UsernamePrefix + openstack.CSIManilaNodeName},
{Type: extensionscontroller.GetVerticalPodAutoscalerObject(), Name: openstack.CSIManilaNodeName},
},
},
},
Expand Down Expand Up @@ -941,8 +940,6 @@ func (vp *valuesProvider) getControlPlaneShootChartCSIManilaValues(
}

if csiManilaEnabled {
values["vpaEnabled"] = gardencorev1beta1helper.ShootWantsVerticalPodAutoscaler(cluster.Shoot)

if err := vp.addCSIManilaValues(values, cp, cluster, credentials); err != nil {
return nil, err
}
Expand Down
4 changes: 0 additions & 4 deletions pkg/controller/controlplane/valuesprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ var _ = Describe("ValuesProvider", func() {
},
Kubernetes: gardencorev1beta1.Kubernetes{
Version: "1.28.4",
VerticalPodAutoscaler: &gardencorev1beta1.VerticalPodAutoscaler{
Enabled: true,
},
},
Provider: gardencorev1beta1.Provider{
InfrastructureConfig: &runtime.RawExtension{
Expand Down Expand Up @@ -800,7 +797,6 @@ var _ = Describe("ValuesProvider", func() {
"tlsInsecure": "",
"caCert": "",
},
"vpaEnabled": true,
}),
}))
})
Expand Down

0 comments on commit 733f44a

Please sign in to comment.