You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gy...@apache.org on 2022/02/16 10:34:16 UTC
[flink-kubernetes-operator] 23/23: Fix webhook helm chart
This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
commit 5824296b8cd6578b5b0fa34312da69d4141ba0e1
Author: Gyula Fora <g_...@apple.com>
AuthorDate: Tue Feb 15 15:41:58 2022 +0100
Fix webhook helm chart
Closes #1
---
helm/flink-operator/templates/webhook.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/helm/flink-operator/templates/webhook.yaml b/helm/flink-operator/templates/webhook.yaml
index 95f9403..8fd8a94 100644
--- a/helm/flink-operator/templates/webhook.yaml
+++ b/helm/flink-operator/templates/webhook.yaml
@@ -48,8 +48,8 @@ metadata:
namespace: {{ .Values.operatorNamespace.name }}
spec:
dnsNames:
- - flink-operator-webhook-service.default.svc
- - flink-operator-webhook-service.default.svc.cluster.local
+ - flink-operator-webhook-service.{{ .Values.operatorNamespace.name }}.svc
+ - flink-operator-webhook-service.{{ .Values.operatorNamespace.name }}.svc.cluster.local
keystores:
pkcs12:
create: true
@@ -80,7 +80,7 @@ apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
annotations:
- cert-manager.io/inject-ca-from: default/flink-operator-serving-cert
+ cert-manager.io/inject-ca-from: {{ .Values.operatorNamespace.name }}/flink-operator-serving-cert
name: flink-operator-validating-webhook-configuration
webhooks:
- name: vflinkdeployments.flink.apache.org