Fix kubeovn-webhook certs

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
Andrei Kvapil
2025-03-13 13:28:29 +01:00
parent d2210df9ec
commit d2e5e6f041
2 changed files with 2 additions and 2 deletions

View File

@@ -60,5 +60,5 @@ spec:
volumes:
- name: webhook-certs
secret:
secretName: namespace-annotation-webhook-tls
secretName: {{ include "namespace-annotation-webhook.fullname" . }}-tls
defaultMode: 0400

View File

@@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "namespace-annotation-webhook.fullname" . }}-cert
labels:
app.kubernetes.io/name: namespace-annotation-webhook
app.kubernetes.io/name: {{ include "namespace-annotation-webhook.fullname" . }}
webhooks:
- name: kube-ovn-webhook.cozystack.io
admissionReviewVersions: ["v1"]