From b6d4f27723641929a87eca39c4b661cc538893dc Mon Sep 17 00:00:00 2001 From: J0shSkqlq <103205739+J0shSkqlq@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:03:46 +0100 Subject: [PATCH 1/2] Add command to deployments --- charts/devlake/templates/deployments.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/devlake/templates/deployments.yaml b/charts/devlake/templates/deployments.yaml index c2b9ece..5a344c2 100644 --- a/charts/devlake/templates/deployments.yaml +++ b/charts/devlake/templates/deployments.yaml @@ -201,6 +201,10 @@ spec: - name: "{{ tpl $key2 $ }}" value: "{{ tpl (print $value2) $ }}" {{- end }} + {{- with .Values.lake.command }} + command: + {{- toYaml . | nindent 12 }} + {{- end }} {{- with .Values.lake.resources }} resources: {{- toYaml . | nindent 12 }} From 135d86c1bf76b6f0a2a8aeee7050a77543a6c7d7 Mon Sep 17 00:00:00 2001 From: J0shSkqlq <103205739+J0shSkqlq@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:06:46 +0100 Subject: [PATCH 2/2] Add command to values --- charts/devlake/values.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml index a29a64c..04a5507 100644 --- a/charts/devlake/values.yaml +++ b/charts/devlake/values.yaml @@ -197,6 +197,8 @@ lake: #extra envs from an existing secret extraEnvsFromSecret: "" + # Set different container command + command: [] encryptionSecret: # The name of secret which contains keys named ENCRYPTION_SECRET secretName: "" @@ -427,4 +429,4 @@ extraResources: [] # type: Opaque # stringData: # username: admin - # password: mypassword \ No newline at end of file + # password: mypassword