Skip to content

Commit e87e065

Browse files
authored
Merge pull request #23635 from saschagrunert/immutable-secret-configmap-default-true
Remove the feature gate part from immutable secrets/configmaps
2 parents f48bad6 + 91f4a12 commit e87e065

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

content/en/docs/concepts/configuration/configmap.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,10 @@ data has the following advantages:
224224
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
225225
closing watches for config maps marked as immutable.
226226

227-
To use this feature, enable the `ImmutableEphemeralVolumes`
228-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set
229-
your Secret or ConfigMap `immutable` field to `true`. For example:
227+
This feature is controlled by the `ImmutableEphemeralVolumes` [feature
228+
gate](/docs/reference/command-line-tools-reference/feature-gates/),
229+
which is enabled by default since v1.19. You can create an immutable
230+
ConfigMap by setting the `immutable` field to `true`. For example,
230231
```yaml
231232
apiVersion: v1
232233
kind: ConfigMap

content/en/docs/concepts/configuration/secret.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,10 @@ data has the following advantages:
728728
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
729729
closing watches for secrets marked as immutable.
730730

731-
To use this feature, enable the `ImmutableEphemeralVolumes`
732-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set
733-
your Secret or ConfigMap `immutable` field to `true`. For example:
731+
This feature is controlled by the `ImmutableEphemeralVolumes` [feature
732+
gate](/docs/reference/command-line-tools-reference/feature-gates/),
733+
which is enabled by default since v1.19. You can create an immutable
734+
Secret by setting the `immutable` field to `true`. For example,
734735
```yaml
735736
apiVersion: v1
736737
kind: Secret

0 commit comments

Comments
 (0)