From 91f4a125c0a284b35438e144304defaa31fdefc7 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Tue, 1 Sep 2020 09:51:26 +0200 Subject: [PATCH] Remove the feature gate part from immutable secrets/configmaps The feature is in `beta` since Kubernetes v1.19.0 so it is enabled per default. This means that we can omit the hint to enable the feature gate manually. Signed-off-by: Sascha Grunert --- content/en/docs/concepts/configuration/configmap.md | 7 ++++--- content/en/docs/concepts/configuration/secret.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/content/en/docs/concepts/configuration/configmap.md b/content/en/docs/concepts/configuration/configmap.md index f40c99fbc4..3e7abfd593 100644 --- a/content/en/docs/concepts/configuration/configmap.md +++ b/content/en/docs/concepts/configuration/configmap.md @@ -224,9 +224,10 @@ data has the following advantages: - improves performance of your cluster by significantly reducing load on kube-apiserver, by closing watches for config maps marked as immutable. -To use this feature, enable the `ImmutableEphemeralVolumes` -[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set -your Secret or ConfigMap `immutable` field to `true`. For example: +This feature is controlled by the `ImmutableEphemeralVolumes` [feature +gate](/docs/reference/command-line-tools-reference/feature-gates/), +which is enabled by default since v1.19. You can create an immutable +ConfigMap by setting the `immutable` field to `true`. For example, ```yaml apiVersion: v1 kind: ConfigMap diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 8c4dbcadb0..651e90f270 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -728,9 +728,10 @@ data has the following advantages: - improves performance of your cluster by significantly reducing load on kube-apiserver, by closing watches for secrets marked as immutable. -To use this feature, enable the `ImmutableEphemeralVolumes` -[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set -your Secret or ConfigMap `immutable` field to `true`. For example: +This feature is controlled by the `ImmutableEphemeralVolumes` [feature +gate](/docs/reference/command-line-tools-reference/feature-gates/), +which is enabled by default since v1.19. You can create an immutable +Secret by setting the `immutable` field to `true`. For example, ```yaml apiVersion: v1 kind: Secret