Skip to content

Commit

Permalink
fix(charts/thredds): updated to latest common [pack].
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Mar 10, 2022
1 parent 43ba9a5 commit b388877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/thredds/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ spec:
spec:
initContainers:
{{- if .Values.tomcatConfigMapName }}
{{- include "common.envsubstConfig.renderInitContainer" ( dict "args" ( dict "targetVolumeName" "tomcat-config" "helperSuffix" "-tomcat" "env" ( dict ) ) "context" $ ) | nindent 8 }}
{{- include "common.envsubstConfig.renderInitContainer" ( dict "args" ( dict "targetVolume" "tomcat-config" "helperSuffix" "-tomcat" "env" ( dict ) ) "context" $ ) | nindent 8 }}
{{- end }}
{{- include "common.envsubstConfig.renderInitContainer" ( dict "args" ( dict "targetVolumeName" "thredds-config" "helperSuffix" "-thredds" "env" ( dict ) ) "context" $ ) | nindent 8 }}
{{- include "common.envsubstConfig.renderInitContainer" ( dict "args" ( dict "targetVolume" "thredds-config" "helperSuffix" "-thredds" "env" ( dict ) ) "context" $ ) | nindent 8 }}
containers:
- name: {{ include "common.names.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down Expand Up @@ -77,9 +77,9 @@ spec:
{{- include "common.tplvalues.render" ( dict "value" .Values.dataVolume "context" $ ) | nindent 10 }}
{{- end }}
{{- if .Values.tomcatConfigMapName }}
{{- include "common.envsubstConfig.renderVolume" ( dict "args" ( dict "configMapName" .Values.tomcatConfigMapName "helperSuffix" "-tomcat" ) "context" $ ) | nindent 8 }}
{{- include "common.envsubstConfig.renderVolume" ( dict "args" ( dict "sourceConfigMap" .Values.tomcatConfigMapName "helperSuffix" "-tomcat" ) "context" $ ) | nindent 8 }}
{{- end }}
{{- include "common.envsubstConfig.renderVolume" ( dict "args" ( dict "configMapName" .Values.configMapName "helperSuffix" "-thredds" ) "context" $ ) | nindent 8 }}
{{- include "common.envsubstConfig.renderVolume" ( dict "args" ( dict "sourceConfigMap" .Values.configMapName "helperSuffix" "-thredds" ) "context" $ ) | nindent 8 }}
{{- if .Values.extraVolumes }}
{{- include "common.tplvalues.render" ( dict "value" .Values.extraVolumes "context" $ ) | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit b388877

Please sign in to comment.