Skip to content

Commit 94e9343

Browse files
authored
change the flag name from disableServiceMutatorWebhook to enableServiceMutatorWebhook (#3142)
1 parent ee82b3e commit 94e9343

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

helm/aws-load-balancer-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,4 @@ The default values set by the application itself can be confirmed [here](https:/
253253
| `clusterSecretsPermissions.allowAllSecrets` | If `true`, controller has access to all secrets in the cluster. | `false` |
254254
| `controllerConfig.featureGates` | set of `key: value` pairs that describe AWS load balance controller features | `{}` |
255255
| `ingressClassConfig.default` | If `true`, the ingressclass will be the default class of the cluster. | `false` |
256-
| `disableServiceMutatorWebhook` | If `false`, disable the Service Mutator webhook which makes all new services of type LoadBalancer reconciled by the lb controller | `true` |
256+
| `enableServiceMutatorWebhook` | If `false`, disable the Service Mutator webhook which makes all new services of type LoadBalancer reconciled by the lb controller | `true` |

helm/aws-load-balancer-controller/templates/webhook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ webhooks:
5656
resources:
5757
- pods
5858
sideEffects: None
59-
{{- if .Values.disableServiceMutatorWebhook }}
59+
{{- if .Values.enableServiceMutatorWebhook }}
6060
- clientConfig:
6161
{{ if not $.Values.enableCertManager -}}
6262
caBundle: {{ $tls.caCert }}

helm/aws-load-balancer-controller/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,5 +339,5 @@ clusterSecretsPermissions:
339339
ingressClassConfig:
340340
default: false
341341

342-
# disableServiceMutatorWebhook allows you disable the webhook which makes this controller the default for all new services of type LoadBalancer
343-
disableServiceMutatorWebhook: true
342+
# enableServiceMutatorWebhook allows you enable the webhook which makes this controller the default for all new services of type LoadBalancer
343+
enableServiceMutatorWebhook: true

0 commit comments

Comments
 (0)