From 38932ab1b194ab2066c81a371f2c89aac0c84b28 Mon Sep 17 00:00:00 2001 From: AhmedAhmedEG Date: Fri, 11 Oct 2024 23:35:20 +0300 Subject: [PATCH 1/2] Add files via upload --- charts/kong/templates/_helpers.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/kong/templates/_helpers.tpl b/charts/kong/templates/_helpers.tpl index d720e4d7a..6fee0a5cf 100644 --- a/charts/kong/templates/_helpers.tpl +++ b/charts/kong/templates/_helpers.tpl @@ -967,12 +967,6 @@ Use the Pod security context defined in Values or set the UID by default {{ .Values.securityContext | toYaml }} {{- end -}} -{{- define "kong.no_daemon_env" -}} -{{- template "kong.env" . }} -- name: KONG_NGINX_DAEMON - value: "off" -{{- end -}} - {{/* The environment values passed to Kong; this should come after all the template that it itself is using form the above sections. @@ -1842,3 +1836,9 @@ envFrom: {{- else -}} {{- end -}} {{- end -}} + +{{- define "kong.no_daemon_env" -}} +{{- template "kong.env" . }} +- name: KONG_NGINX_DAEMON + value: "off" +{{- end -}} From e72beed4bc7b40ef137892b0339014cc372db8b0 Mon Sep 17 00:00:00 2001 From: AhmedAhmedEG Date: Sat, 12 Oct 2024 00:56:44 +0300 Subject: [PATCH 2/2] Add files via upload --- charts/kong/templates/_helpers.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/kong/templates/_helpers.tpl b/charts/kong/templates/_helpers.tpl index 6fee0a5cf..722eda10b 100644 --- a/charts/kong/templates/_helpers.tpl +++ b/charts/kong/templates/_helpers.tpl @@ -967,6 +967,12 @@ Use the Pod security context defined in Values or set the UID by default {{ .Values.securityContext | toYaml }} {{- end -}} +{{- define "kong.no_daemon_env" -}} +{{- include "kong.env" . }} +- name: KONG_NGINX_DAEMON + value: "off" +{{- end -}} + {{/* The environment values passed to Kong; this should come after all the template that it itself is using form the above sections. @@ -1836,9 +1842,3 @@ envFrom: {{- else -}} {{- end -}} {{- end -}} - -{{- define "kong.no_daemon_env" -}} -{{- template "kong.env" . }} -- name: KONG_NGINX_DAEMON - value: "off" -{{- end -}}