Skip to content
Snippets Groups Projects
Commit 45bbc115 authored by andree.klattenhoff's avatar andree.klattenhoff
Browse files

Fix: Helm: Support to use {{ .Release.Name }} in existingConfigMap value

parent 88555cc9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.7
version: 3.0.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
......@@ -152,7 +152,7 @@ spec:
volumes:
- name: manifest-config
configMap:
name: {{ .Values.existingConfigMap | default (include "ox-common.names.fullname" .) }}
name: "{{- tpl (.Values.existingConfigMap | default (include "ox-common.names.fullname" .)) . }}"
{{- if and (eq (len .Values.redis.hosts) 1) (eq (index .Values.redis.hosts 0) "localhost:6379") }}
- name: redis-data
emptyDir:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment