Skip to content

Commit

Permalink
chore: MutatingWebhookConfiguration remove namespace filter
Browse files Browse the repository at this point in the history
Signed-off-by: xiaozhuang <[email protected]>
  • Loading branch information
xiaozhuang committed Dec 27, 2024
1 parent eca7506 commit 3ae27ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ webhooks:
resources:
- pods
sideEffects: None
namespaceSelector:
matchLabels:
ot-mutate-pod-webhook-injection: enabled
objectSelector:
matchExpressions:
- key: redis_setup_type
Expand Down
3 changes: 1 addition & 2 deletions charts/redis-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ redisOperator:
# When not specified, the operator will watch all namespaces. It can be set to a specific namespace or multiple namespaces separated by commas.
watchNamespace: ""
env: []
# if want to enable masterSalveAntiAffinity
# need to set webhook to true and label namespace ot-mutate-pod-webhook-injection=enabled
# If you want to enable masterSlaveAntiAffinity, you need to set webhook to true.
webhook: false
automountServiceAccountToken: true

Expand Down

0 comments on commit 3ae27ab

Please sign in to comment.