Skip to content

Commit

Permalink
fix: entrypoint bug (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored Aug 29, 2023
1 parent ccb4b97 commit 33232d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/contrib/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
image: "{{ or .Values.registry .Values.global.registry }}{{ if (or .Values.imageProject .Values.global.imageProject) }}{{ (print "/" (or .Values.imageProject .Values.global.imageProject)) }}{{ end }}{{ if (or .Values.imageRepository .Values.global.imageRepository) }}{{ (print "/" (or .Values.imageRepository .Values.global.imageRepository)) }}{{ end }}{{ if .Values.imagePackage }}{{ (print "/" .Values.imagePackage) }}{{ end }}:{{ or .Values.imageTag .Values.global.imageTag }}"
{{- end }}
{{- if .Values.entrypoint }}
command: |
command:
{{- tpl (.Values.entrypoint | toYaml) $ | nindent 12 }}
{{- end }}
{{- if .Values.cmd }}
Expand Down
2 changes: 1 addition & 1 deletion plugins/contrib/charts/daemon/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
image: "{{ or .Values.registry .Values.global.registry }}{{ if (or .Values.imageProject .Values.global.imageProject) }}{{ (print "/" (or .Values.imageProject .Values.global.imageProject)) }}{{ end }}{{ if (or .Values.imageRepository .Values.global.imageRepository) }}{{ (print "/" (or .Values.imageRepository .Values.global.imageRepository)) }}{{ end }}{{ if .Values.imagePackage }}{{ (print "/" .Values.imagePackage) }}{{ end }}:{{ or .Values.imageTag .Values.global.imageTag }}"
{{- end }}
{{- if .Values.entrypoint }}
command: |
command:
{{- tpl (.Values.entrypoint | toYaml) $ | nindent 12 }}
{{- end }}
{{- if .Values.cmd }}
Expand Down

0 comments on commit 33232d0

Please sign in to comment.