Merge pull request #23635 from saschagrunert/immutable-secret-configmap-default-true
Remove the feature gate part from immutable secrets/configmaps
This commit is contained in:
@@ -224,9 +224,10 @@ data has the following advantages:
|
|||||||
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
|
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
|
||||||
closing watches for config maps marked as immutable.
|
closing watches for config maps marked as immutable.
|
||||||
|
|
||||||
To use this feature, enable the `ImmutableEphemeralVolumes`
|
This feature is controlled by the `ImmutableEphemeralVolumes` [feature
|
||||||
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set
|
gate](/docs/reference/command-line-tools-reference/feature-gates/),
|
||||||
your Secret or ConfigMap `immutable` field to `true`. For example:
|
which is enabled by default since v1.19. You can create an immutable
|
||||||
|
ConfigMap by setting the `immutable` field to `true`. For example,
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
|||||||
@@ -728,9 +728,10 @@ data has the following advantages:
|
|||||||
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
|
- improves performance of your cluster by significantly reducing load on kube-apiserver, by
|
||||||
closing watches for secrets marked as immutable.
|
closing watches for secrets marked as immutable.
|
||||||
|
|
||||||
To use this feature, enable the `ImmutableEphemeralVolumes`
|
This feature is controlled by the `ImmutableEphemeralVolumes` [feature
|
||||||
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) and set
|
gate](/docs/reference/command-line-tools-reference/feature-gates/),
|
||||||
your Secret or ConfigMap `immutable` field to `true`. For example:
|
which is enabled by default since v1.19. You can create an immutable
|
||||||
|
Secret by setting the `immutable` field to `true`. For example,
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
|||||||
Reference in New Issue
Block a user