Skip to content

Commit

Permalink
fix(tplchart): wrong template names used
Browse files Browse the repository at this point in the history
  • Loading branch information
thphuong committed Jan 7, 2025
1 parent 606b3a2 commit fa43ce9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/tplchart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.1.0
appVersion: 0.1.1
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
8 changes: 4 additions & 4 deletions charts/tplchart/templates/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ ports:
{{- end }}
{{- if (.Args.livenessProbe).enabled }}
livenessProbe:
{{- omit .Args.livenessProbe "enabled" | include "common.utils.renderYaml" | nindent 2 }}
{{- omit .Args.livenessProbe "enabled" | include "tplchart.utils.renderYaml" | nindent 2 }}
{{- end }}
{{- if (.Args.readinessProbe).enabled }}
readinessProbe:
{{- omit .Args.readinessProbe "enabled" | include "common.utils.renderYaml" | nindent 2 }}
{{- omit .Args.readinessProbe "enabled" | include "tplchart.utils.renderYaml" | nindent 2 }}
{{- end }}
{{- if (.Args.startupProbe).enabled }}
startupProbe:
{{- omit .Args.startupProbe "enabled" | include "common.utils.renderYaml" | nindent 2 }}
{{- omit .Args.startupProbe "enabled" | include "tplchart.utils.renderYaml" | nindent 2 }}
{{- end }}
{{- if .Values.lifecycleHooks }}
lifecycle:
Expand All @@ -144,7 +144,7 @@ resources:
{{- if or .Args.volumeMounts .Values.extraVolumeMounts }}
volumeMounts:
{{- if .Args.volumeMounts }}
{{- include "common.utils.renderYaml" .Args.volumeMounts | nindent 2 }}
{{- include "tplchart.utils.renderYaml" .Args.volumeMounts | nindent 2 }}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" .) | nindent 2 }}
Expand Down

0 comments on commit fa43ce9

Please sign in to comment.