From f2eeb02fac5bed38bfb945581cd16cdd6eca5380 Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Tue, 5 Oct 2021 22:29:17 +0200 Subject: [PATCH] Revert "VolumeBindingMode" value change (immutable field) --- charts/gardener-extension-provider-hcloud/values.yaml | 2 +- charts/internal/shoot-storageclasses/values.yaml | 2 +- pkg/controller/controlplane/valuesprovider.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/gardener-extension-provider-hcloud/values.yaml b/charts/gardener-extension-provider-hcloud/values.yaml index 6943c553c..e9ea0ae35 100644 --- a/charts/gardener-extension-provider-hcloud/values.yaml +++ b/charts/gardener-extension-provider-hcloud/values.yaml @@ -72,4 +72,4 @@ gardener: provider: providerConfig: fsType: ext4 - volumeBindingMode: WaitForFirstConsumer + volumeBindingMode: Immediate diff --git a/charts/internal/shoot-storageclasses/values.yaml b/charts/internal/shoot-storageclasses/values.yaml index 32fa482a5..628f2c3bc 100644 --- a/charts/internal/shoot-storageclasses/values.yaml +++ b/charts/internal/shoot-storageclasses/values.yaml @@ -1,3 +1,3 @@ fsType: ext4 -volumeBindingMode: WaitForFirstConsumer +volumeBindingMode: Immediate allowVolumeExpansion: false diff --git a/pkg/controller/controlplane/valuesprovider.go b/pkg/controller/controlplane/valuesprovider.go index 5a74c3b78..1402b5c2a 100644 --- a/pkg/controller/controlplane/valuesprovider.go +++ b/pkg/controller/controlplane/valuesprovider.go @@ -356,7 +356,7 @@ func (vp *valuesProvider) GetStorageClassesChartValues( return nil, err } - volumeBindingMode := "WaitForFirstConsumer" + volumeBindingMode := "Immediate" return map[string]interface{}{ "fsType": cloudProfileConfig.DefaultStorageFsType,