Skip to content

Commit

Permalink
Manifests: align the webhook secret name to the new name
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Feb 19, 2024
1 parent 4bcaff9 commit e168f46
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/metallb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4032,7 +4032,7 @@ spec:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
secretName: metallb-webhook-cert
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ spec:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
secretName: metallb-webhook-cert
permissions:
- rules:
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/webhook-server-cert_v1_secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
kind: Secret
metadata:
name: webhook-server-cert
name: metallb-webhook-cert
4 changes: 2 additions & 2 deletions config/webhook/backend/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
readOnly: true
env:
- name: METALLB_BGP_TYPE
value: "native"
value: "native"
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand All @@ -77,4 +77,4 @@ spec:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
secretName: metallb-webhook-cert
2 changes: 1 addition & 1 deletion hack/ocp-kustomize-overlay/controller-webhook-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ spec:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
secretName: metallb-webhook-cert
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
name: metallb-webhook-service
namespace: system
annotations:
service.alpha.openshift.io/serving-cert-secret-name: webhook-server-cert
service.alpha.openshift.io/serving-cert-secret-name: metallb-webhook-cert

0 comments on commit e168f46

Please sign in to comment.