* Helpers: Align `ingress-nginx.namespace` to `ingress-nginx.name`. * Templates: Remove quotes. In alignment to others. Also does not make sense as `namespace` must conform to DNS. * Admission Webhooks/Validating Webhook: Make use of `ingress-nginx.namespace`. * KEDA: Remove comment. * Templates: Add forgotten namespace definitions.
This commit is contained in:
parent
e805d4955d
commit
9cb3919e84
10 changed files with 16 additions and 20 deletions
|
|
@ -6,8 +6,8 @@ kind: ValidatingWebhookConfiguration
|
|||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.controller.admissionWebhooks.certManager.enabled }}
|
||||
certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s" .Release.Namespace (include "ingress-nginx.admissionWebhooks.fullname" .) | quote }}
|
||||
cert-manager.io/inject-ca-from: {{ printf "%s/%s" .Release.Namespace (include "ingress-nginx.admissionWebhooks.fullname" .) | quote }}
|
||||
certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s" (include "ingress-nginx.namespace" .) (include "ingress-nginx.admissionWebhooks.fullname" .) | quote }}
|
||||
cert-manager.io/inject-ca-from: {{ printf "%s/%s" (include "ingress-nginx.namespace" .) (include "ingress-nginx.admissionWebhooks.fullname" .) | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.admissionWebhooks.annotations }}
|
||||
{{- toYaml .Values.controller.admissionWebhooks.annotations | nindent 4 }}
|
||||
|
|
@ -38,8 +38,8 @@ webhooks:
|
|||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
namespace: {{ (include "ingress-nginx.namespace" .) | quote }}
|
||||
name: {{ include "ingress-nginx.controller.fullname" . }}-admission
|
||||
namespace: {{ include "ingress-nginx.namespace" . }}
|
||||
path: /networking/v1/ingresses
|
||||
{{- if .Values.controller.admissionWebhooks.timeoutSeconds }}
|
||||
timeoutSeconds: {{ .Values.controller.admissionWebhooks.timeoutSeconds }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue