Skip to content

Commit b9c19fb

Browse files
authored
Add missing labels to namelabelmutator.antrea.io in doc (#7122)
The `namelabelmutator.antrea.io` MutatingWebhookConfiguration YAML in antrea-network-policy.md is missing the necessary labels to ensure that the CA cert is synced correctly by the Antrea Controller (e.g., when the certificate is rotated). Signed-off-by: Antonin Bas <[email protected]>
1 parent 0c9f7a6 commit b9c19fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/antrea-network-policy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,10 @@ kind: MutatingWebhookConfiguration
12261226
metadata:
12271227
# Do not edit this name.
12281228
name: "labelsmutator.antrea.io"
1229+
# Do not remove these labels.
1230+
labels:
1231+
app: antrea
1232+
served-by: antrea-controller
12291233
webhooks:
12301234
- name: "namelabelmutator.antrea.io"
12311235
clientConfig:

0 commit comments

Comments
 (0)