From 0ac69b88ab7f52e33d390b5fdd2b9f4b2c6a61fd Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sun, 10 Sep 2017 03:20:24 -0500 Subject: [PATCH] Kubernetes-Entrypoint: Define entrypoint explicitly This PS defines the container entrypoint to kubernetes entrypoint, allowing images that do not have it defined as the entrypoint to be used. Change-Id: I8f2d57bb933ee7990f75d82e9cc1b47afd99f1c6 --- .../snippets/_kubernetes_entrypoint_init_container.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm-toolkit/templates/snippets/_kubernetes_entrypoint_init_container.tpl b/helm-toolkit/templates/snippets/_kubernetes_entrypoint_init_container.tpl index e4d6e699c4..08c51c0183 100644 --- a/helm-toolkit/templates/snippets/_kubernetes_entrypoint_init_container.tpl +++ b/helm-toolkit/templates/snippets/_kubernetes_entrypoint_init_container.tpl @@ -44,5 +44,7 @@ limitations under the License. value: "{{ include "helm-toolkit.utils.joinListWithComma" $deps.container }}" - name: COMMAND value: "echo done" + command: + - kubernetes-entrypoint volumeMounts: {{ $mounts | default "[]"}} {{- end -}}