* 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
|
|
@ -1,6 +1,4 @@
|
|||
{{- if and .Values.controller.keda.enabled (eq .Values.controller.kind "Deployment") -}}
|
||||
# https://keda.sh/docs/
|
||||
|
||||
apiVersion: {{ .Values.controller.keda.apiVersion }}
|
||||
kind: ScaledObject
|
||||
metadata:
|
||||
|
|
@ -11,6 +9,7 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "ingress-nginx.controller.fullname" . }}
|
||||
namespace: {{ include "ingress-nginx.namespace" . }}
|
||||
{{- if .Values.controller.keda.scaledObject.annotations }}
|
||||
annotations: {{ toYaml .Values.controller.keda.scaledObject.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue