mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kong] add release to template ConfigMap (#15817)
Adds the release name as a prefix to the custom NGINX template ConfigMap. The static name created a regression preventing multiple installations of Kong in the same namespace, as Helm would attempt to create the same ConfigMap twice. Signed-off-by: Travis Raines <traines@konghq.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5c823b5ca3
commit
0a1ff70837
@@ -12,5 +12,5 @@ maintainers:
|
||||
name: kong
|
||||
sources:
|
||||
- https://github.com/Kong/kong
|
||||
version: 0.14.1
|
||||
version: 0.14.2
|
||||
appVersion: 1.2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: kong-default-custom-server-blocks
|
||||
name: {{ .Release.Name }}-kong-default-custom-server-blocks
|
||||
labels:
|
||||
app: {{ template "kong.name" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
@@ -26,4 +26,4 @@ data:
|
||||
access_log off;
|
||||
stub_status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -251,5 +251,5 @@ spec:
|
||||
volumes:
|
||||
- name: custom-nginx-template-volume
|
||||
configMap:
|
||||
name: kong-default-custom-server-blocks
|
||||
name: {{ .Release.Name }}-kong-default-custom-server-blocks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user