Browse Source

Fix Helm chart

master
Gyulai Dániel 4 years ago
parent
commit
0e6e4a9dbb
  1. 2
      helm/covidok/templates/_helpers.tpl
  2. 2
      helm/covidok/templates/deployment.yaml

2
helm/covidok/templates/_helpers.tpl

@ -18,7 +18,7 @@ Expand the name of the chart.
{{- end }} {{- end }}
{{- define "covidok.appsettings" -}} {{- define "covidok.appsettings" -}}
{{- .Release.Name -}}-appsettings {{ .Release.Name -}}-appsettings
{{- end }} {{- end }}
{{/* {{/*

2
helm/covidok/templates/deployment.yaml

@ -42,7 +42,7 @@ spec:
volumes: volumes:
- name: appsettings - name: appsettings
configMap: configMap:
name: {{- include "covidok.appsettings" . }} name: {{ include "covidok.appsettings" . }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

Loading…
Cancel
Save