From 9e3834c541074b3d1c3cdac61b410179215a0e3b Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Mon, 28 Sep 2020 19:20:36 +0500 Subject: [PATCH] Add support for defining arguments --- charts/ix-chart/v2009.0.1/templates/deployment.yaml | 6 ++++++ charts/ix-chart/v2009.0.1/values.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/charts/ix-chart/v2009.0.1/templates/deployment.yaml b/charts/ix-chart/v2009.0.1/templates/deployment.yaml index 929ef48b3cf..c6cd9d15a00 100644 --- a/charts/ix-chart/v2009.0.1/templates/deployment.yaml +++ b/charts/ix-chart/v2009.0.1/templates/deployment.yaml @@ -25,3 +25,9 @@ spec: - {{ . | quote}} {{- end }} {{- end }} + {{- if .Values.container.args }} + args: + {{- range .Values.container.args }} + - {{ . | quote}} + {{- end }} + {{- end }} diff --git a/charts/ix-chart/v2009.0.1/values.yaml b/charts/ix-chart/v2009.0.1/values.yaml index e87ba7f308f..b62420a0c0a 100644 --- a/charts/ix-chart/v2009.0.1/values.yaml +++ b/charts/ix-chart/v2009.0.1/values.yaml @@ -17,3 +17,4 @@ fullnameOverride: "" # Container CMD / entrypoint container: command: [] + args: []