From fa6f0ff85adb73941d4f1e033f16ff6b3b88dba9 Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Mon, 10 Jul 2023 18:56:09 +0200 Subject: [PATCH] Changed to command + args --- .gitlab-ci.yml | 2 +- Chart/templates/deployment.yaml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa493ba..a6bafb0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "99.6.19" + HELM_CHART_VERSION: "99.6.20" stages: - deploy diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index aa8ee5a..06a2da4 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -87,10 +87,8 @@ spec: {{- if eq (.Values.site.container_base | default "debian" ) "debian" }} command: [ "/init-go/init-go" ] {{- else }} - command: - - /bin/sh - - -c - - /init-go/init-go + command: ["sh"] + args: ["-c", "/init-go/init-go"] {{- end }} containers: - name: wordpress