From 1ee2c3c341ebd3e37974d7d26071425a8379274a Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Mon, 22 Jul 2024 15:10:13 +0200 Subject: [PATCH 1/3] Use args for CLI parameters --- charts/streams-app/templates/deployment.yaml | 100 ++++++++++--------- charts/streams-app/values.yaml | 5 +- 2 files changed, 55 insertions(+), 50 deletions(-) diff --git a/charts/streams-app/templates/deployment.yaml b/charts/streams-app/templates/deployment.yaml index c13b080c..b8b32ff7 100644 --- a/charts/streams-app/templates/deployment.yaml +++ b/charts/streams-app/templates/deployment.yaml @@ -84,6 +84,57 @@ spec: imagePullPolicy: "{{ .Values.imagePullPolicy }}" resources: {{ toYaml .Values.resources | indent 12 }} + args: + {{- if not .Values.statefulSet }} + - --volatile-group-instance-id + {{- end }} + {{- if hasKey .Values.streams "brokers" }} + - --brokers + - {{ .Values.streams.brokers | quote }} + {{- end }} + {{- if hasKey .Values.streams "schemaRegistryUrl" }} + - --schema-registry-url + - {{ .Values.streams.schemaRegistryUrl | quote }} + {{- end }} + {{- if hasKey .Values "debug" }} + - --debug + - {{ .Values.debug | quote }} + {{- end }} + {{- range .Values.streams.inputTopics }} + - --input-topics + - {{ . | quote }} + {{- end }} + {{- if hasKey .Values.streams "inputPattern" }} + - --input-pattern + - {{ .Values.streams.inputPattern | quote }} + {{- end }} + {{- if hasKey .Values.streams "outputTopic" }} + - --output-topic + - {{ .Values.streams.outputTopic | quote }} + {{- end }} + {{- if hasKey .Values.streams "errorTopic" }} + - --error-topic + - {{ .Values.streams.errorTopic | quote }} + {{- end }} + {{- range $key, $value := .Values.streams.extraOutputTopics }} + - --extra-output-topics + - {{ $key }}={{ $value }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputTopics }} + - --extra-input-topics + - {{ $key }}={{ $value | join ";" }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputPatterns }} + - --extra-input-patterns + - {{ $key }}={{ $value }} + {{- end }} + {{- range $key, $value := .Values.commandLine }} + - {{ $key | quote }} + - {{ $value | quote }} + {{- end }} + {{- range .Values.commandLineList }} + - {{ . | quote }} + {{- end }} env: - name: ENV_PREFIX value: {{ .Values.configurationEnvPrefix }}_ @@ -111,51 +162,6 @@ spec: - name: KAFKA_JMX_PORT value: "{{ .Values.jmx.port }}" {{- end }} - {{- if not .Values.statefulSet }} - - name: "{{ .Values.configurationEnvPrefix }}_VOLATILE_GROUP_INSTANCE_ID" - value: "true" - {{- end }} - {{- if hasKey .Values.streams "brokers" }} - - name: "{{ .Values.configurationEnvPrefix }}_BROKERS" - value: {{ .Values.streams.brokers | quote }} - {{- end }} - {{- if hasKey .Values.streams "schemaRegistryUrl" }} - - name: "{{ .Values.configurationEnvPrefix }}_SCHEMA_REGISTRY_URL" - value: {{ .Values.streams.schemaRegistryUrl | quote }} - {{- end }} - {{- if hasKey .Values "debug" }} - - name: "{{ .Values.configurationEnvPrefix }}_DEBUG" - value: {{ .Values.debug | quote }} - {{- end }} - {{- if and (hasKey .Values.streams "inputTopics") (.Values.streams.inputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_INPUT_TOPICS" - value: {{ .Values.streams.inputTopics | join "," | quote }} - {{- end }} - {{- if hasKey .Values.streams "inputPattern" }} - - name: "{{ .Values.configurationEnvPrefix }}_INPUT_PATTERN" - value: {{ .Values.streams.inputPattern | quote }} - {{- end }} - {{- if hasKey .Values.streams "outputTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_OUTPUT_TOPIC" - value: {{ .Values.streams.outputTopic | quote }} - {{- end }} - {{- if hasKey .Values.streams "errorTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_ERROR_TOPIC" - value: {{ .Values.streams.errorTopic | quote }} - {{- end }} - {{- if and (hasKey .Values.streams "extraOutputTopics") (.Values.streams.extraOutputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_OUTPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraOutputTopics }}{{ $key }}={{ $value }},{{- end }}" - {{- end }} - {{- $delimiter := ";" }} - {{- if and (hasKey .Values.streams "extraInputTopics") (.Values.streams.extraInputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_INPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraInputTopics }}{{ $key }}={{ $value | join $delimiter }},{{- end }}" - {{- end }} - {{- if and (hasKey .Values.streams "extraInputPatterns") (.Values.streams.extraInputPatterns) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_INPUT_PATTERNS" - value: "{{- range $key, $value := .Values.streams.extraInputPatterns }}{{ $key }}={{ $value }},{{- end }}" - {{- end }} {{- range $key, $value := .Values.secrets }} - name: "{{ $key }}" valueFrom: @@ -170,10 +176,6 @@ spec: name: {{ $value.name }} key: "{{ $value.key }}" {{- end }} - {{- range $key, $value := .Values.commandLine }} - - name: "{{ $root.Values.configurationEnvPrefix }}_{{ $key }}" - value: {{ $value | quote }} - {{- end }} {{- range $key, $value := .Values.env }} - name: {{ $key | quote }} value: {{ $value | quote }} diff --git a/charts/streams-app/values.yaml b/charts/streams-app/values.yaml index b3627e9d..9e86b1ba 100644 --- a/charts/streams-app/values.yaml +++ b/charts/streams-app/values.yaml @@ -47,7 +47,10 @@ streams: # errorTopic: error commandLine: {} -# MY_CLI_PARAM: "foo-bar" +# --my-cli-param: "foo-bar" +commandLineList: [] +# - --my-cli-param +# - foo-bar debug: false From e38af131e658174becb8e2f9fa3190fd021870a6 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Mon, 22 Jul 2024 16:26:23 +0200 Subject: [PATCH 2/3] Use args for CLI parameters --- .../templates/job.yaml | 47 ++++++----- charts/producer-app-cleanup-job/values.yaml | 5 +- charts/producer-app/templates/pod.yaml | 48 ++++++----- charts/producer-app/values.yaml | 5 +- .../templates/job.yaml | 84 ++++++++++--------- charts/streams-app-cleanup-job/values.yaml | 5 +- 6 files changed, 110 insertions(+), 84 deletions(-) diff --git a/charts/producer-app-cleanup-job/templates/job.yaml b/charts/producer-app-cleanup-job/templates/job.yaml index 65f11c2d..581b342a 100644 --- a/charts/producer-app-cleanup-job/templates/job.yaml +++ b/charts/producer-app-cleanup-job/templates/job.yaml @@ -56,6 +56,33 @@ spec: resources: {{ toYaml .Values.resources | indent 12 }} args: + {{- if hasKey .Values.streams "brokers" }} + - --brokers + - {{ .Values.streams.brokers | quote }} + {{- end }} + {{- if hasKey .Values.streams "schemaRegistryUrl" }} + - --schema-registry-url + - {{ .Values.streams.schemaRegistryUrl | quote }} + {{- end }} + {{- if hasKey .Values "debug" }} + - --debug + - {{ .Values.debug | quote }} + {{- end }} + {{- if hasKey .Values.streams "outputTopic" }} + - --output-topic + - {{ .Values.streams.outputTopic | quote }} + {{- end }} + {{- range $key, $value := .Values.streams.extraOutputTopics }} + - --extra-output-topics + - {{ $key }}={{ $value }} + {{- end }} + {{- range $key, $value := .Values.commandLine }} + - {{ $key | quote }} + - {{ $value | quote }} + {{- end }} + {{- range .Values.commandLineList }} + - {{ . | quote }} + {{- end }} - clean env: - name: ENV_PREFIX @@ -64,26 +91,6 @@ spec: - name: {{ printf "STREAMS_%s" $key | replace "." "_" | upper | quote }} value: {{ $value | quote }} {{- end }} - {{- if hasKey .Values.streams "brokers" }} - - name: "{{ .Values.configurationEnvPrefix }}_BROKERS" - value: {{ .Values.streams.brokers | quote }} - {{- end }} - {{- if hasKey .Values.streams "schemaRegistryUrl" }} - - name: "{{ .Values.configurationEnvPrefix }}_SCHEMA_REGISTRY_URL" - value: {{ .Values.streams.schemaRegistryUrl | quote }} - {{- end }} - {{- if hasKey .Values "debug" }} - - name: "{{ .Values.configurationEnvPrefix }}_DEBUG" - value: {{ .Values.debug | quote }} - {{- end }} - {{- if hasKey .Values.streams "outputTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_OUTPUT_TOPIC" - value: {{ .Values.streams.outputTopic | quote }} - {{- end }} - {{- if and (hasKey .Values.streams "extraOutputTopics") (.Values.streams.extraOutputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_OUTPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraOutputTopics }}{{ $key }}={{ $value }},{{- end }}" - {{- end }} {{- range $key, $value := .Values.secrets }} - name: "{{ $key }}" valueFrom: diff --git a/charts/producer-app-cleanup-job/values.yaml b/charts/producer-app-cleanup-job/values.yaml index e0d956f7..eeb20b80 100644 --- a/charts/producer-app-cleanup-job/values.yaml +++ b/charts/producer-app-cleanup-job/values.yaml @@ -27,7 +27,10 @@ streams: # role: output commandLine: {} -# MY_CLI_PARAM: "foo-bar" +# --my-cli-param: "foo-bar" +commandLineList: [] +# - --my-cli-param +# - foo-bar debug: false diff --git a/charts/producer-app/templates/pod.yaml b/charts/producer-app/templates/pod.yaml index 772a716a..76a7f333 100644 --- a/charts/producer-app/templates/pod.yaml +++ b/charts/producer-app/templates/pod.yaml @@ -41,6 +41,34 @@ spec: imagePullPolicy: "{{ .Values.imagePullPolicy }}" resources: {{ toYaml .Values.resources | indent 6 }} + args: + {{- if hasKey .Values.streams "brokers" }} + - --brokers + - {{ .Values.streams.brokers | quote }} + {{- end }} + {{- if hasKey .Values.streams "schemaRegistryUrl" }} + - --schema-registry-url + - {{ .Values.streams.schemaRegistryUrl | quote }} + {{- end }} + {{- if hasKey .Values "debug" }} + - --debug + - {{ .Values.debug | quote }} + {{- end }} + {{- if hasKey .Values.streams "outputTopic" }} + - --output-topic + - {{ .Values.streams.outputTopic | quote }} + {{- end }} + {{- range $key, $value := .Values.streams.extraOutputTopics }} + - --extra-output-topics + - {{ $key }}={{ $value }} + {{- end }} + {{- range $key, $value := .Values.commandLine }} + - {{ $key | quote }} + - {{ $value | quote }} + {{- end }} + {{- range .Values.commandLineList }} + - {{ . | quote }} + {{- end }} env: - name: ENV_PREFIX value: {{ .Values.configurationEnvPrefix }}_ @@ -48,26 +76,6 @@ spec: - name: {{ printf "STREAMS_%s" $key | replace "." "_" | upper | quote }} value: {{ $value | quote }} {{- end }} - {{- if hasKey .Values.streams "brokers" }} - - name: "{{ .Values.configurationEnvPrefix }}_BROKERS" - value: {{ .Values.streams.brokers | quote }} - {{- end }} - {{- if hasKey .Values.streams "schemaRegistryUrl" }} - - name: "{{ .Values.configurationEnvPrefix }}_SCHEMA_REGISTRY_URL" - value: {{ .Values.streams.schemaRegistryUrl | quote }} - {{- end }} - {{- if hasKey .Values "debug" }} - - name: "{{ .Values.configurationEnvPrefix }}_DEBUG" - value: {{ .Values.debug | quote }} - {{- end }} - {{- if hasKey .Values.streams "outputTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_OUTPUT_TOPIC" - value: {{ .Values.streams.outputTopic | quote }} - {{- end }} - {{- if and (hasKey .Values.streams "extraOutputTopics") (.Values.streams.extraOutputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_OUTPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraOutputTopics }}{{ $key }}={{ $value }},{{- end }}" - {{- end }} {{- range $key, $value := .Values.secrets }} - name: "{{ $key }}" valueFrom: diff --git a/charts/producer-app/values.yaml b/charts/producer-app/values.yaml index 4f7480ab..3d4b7fd4 100644 --- a/charts/producer-app/values.yaml +++ b/charts/producer-app/values.yaml @@ -60,7 +60,10 @@ streams: # role: output commandLine: {} -# MY_CLI_PARAM: "foo-bar" +# --my-cli-param: "foo-bar" +commandLineList: [] +# - --my-cli-param +# - foo-bar debug: false diff --git a/charts/streams-app-cleanup-job/templates/job.yaml b/charts/streams-app-cleanup-job/templates/job.yaml index 7b19f207..b304c469 100644 --- a/charts/streams-app-cleanup-job/templates/job.yaml +++ b/charts/streams-app-cleanup-job/templates/job.yaml @@ -56,58 +56,64 @@ spec: resources: {{ toYaml .Values.resources | indent 12 }} args: - {{- if .Values.streams.deleteOutput }} - - clean - {{- else }} - - reset - {{- end }} - env: - - name: ENV_PREFIX - value: {{ .Values.configurationEnvPrefix }}_ - {{- range $key, $value := .Values.streams.config }} - - name: {{ printf "STREAMS_%s" $key | replace "." "_" | upper | quote }} - value: {{ $value | quote }} - {{- end }} {{- if hasKey .Values.streams "brokers" }} - - name: "{{ .Values.configurationEnvPrefix }}_BROKERS" - value: {{ .Values.streams.brokers | quote }} + - --brokers + - {{ .Values.streams.brokers | quote }} {{- end }} {{- if hasKey .Values.streams "schemaRegistryUrl" }} - - name: "{{ .Values.configurationEnvPrefix }}_SCHEMA_REGISTRY_URL" - value: {{ .Values.streams.schemaRegistryUrl | quote }} + - --schema-registry-url + - {{ .Values.streams.schemaRegistryUrl | quote }} {{- end }} {{- if hasKey .Values "debug" }} - - name: "{{ .Values.configurationEnvPrefix }}_DEBUG" - value: {{ .Values.debug | quote }} + - --debug + - {{ .Values.debug | quote }} {{- end }} - {{- if and (hasKey .Values.streams "inputTopics") (.Values.streams.inputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_INPUT_TOPICS" - value: {{ .Values.streams.inputTopics | join "," | quote }} + {{- range .Values.streams.inputTopics }} + - --input-topics + - {{ . | quote }} {{- end }} {{- if hasKey .Values.streams "inputPattern" }} - - name: "{{ .Values.configurationEnvPrefix }}_INPUT_PATTERN" - value: {{ .Values.streams.inputPattern | join "," | quote }} + - --input-pattern + - {{ .Values.streams.inputPattern | quote }} {{- end }} {{- if hasKey .Values.streams "outputTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_OUTPUT_TOPIC" - value: {{ .Values.streams.outputTopic | quote }} + - --output-topic + - {{ .Values.streams.outputTopic | quote }} {{- end }} {{- if hasKey .Values.streams "errorTopic" }} - - name: "{{ .Values.configurationEnvPrefix }}_ERROR_TOPIC" - value: {{ .Values.streams.errorTopic | quote }} + - --error-topic + - {{ .Values.streams.errorTopic | quote }} + {{- end }} + {{- range $key, $value := .Values.streams.extraOutputTopics }} + - --extra-output-topics + - {{ $key }}={{ $value }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputTopics }} + - --extra-input-topics + - {{ $key }}={{ $value | join ";" }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputPatterns }} + - --extra-input-patterns + - {{ $key }}={{ $value }} {{- end }} - {{- if and (hasKey .Values.streams "extraOutputTopics") (.Values.streams.extraOutputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_OUTPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraOutputTopics }}{{ $key }}={{ $value }},{{- end }}" + {{- range $key, $value := .Values.commandLine }} + - {{ $key | quote }} + - {{ $value | quote }} {{- end }} - {{- $delimiter := ";" }} - {{- if and (hasKey .Values.streams "extraInputTopics") (.Values.streams.extraInputTopics) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_INPUT_TOPICS" - value: "{{- range $key, $value := .Values.streams.extraInputTopics }}{{ $key }}={{ $value | join $delimiter }},{{- end }}" + {{- range .Values.commandLineList }} + - {{ . | quote }} {{- end }} - {{- if and (hasKey .Values.streams "extraInputPatterns") (.Values.streams.extraInputPatterns) }} - - name: "{{ .Values.configurationEnvPrefix }}_EXTRA_INPUT_PATTERNS" - value: "{{- range $key, $value := .Values.streams.extraInputPatterns }}{{ $key }}={{ $value }},{{- end }}" + {{- if .Values.streams.deleteOutput }} + - clean + {{- else }} + - reset + {{- end }} + env: + - name: ENV_PREFIX + value: {{ .Values.configurationEnvPrefix }}_ + {{- range $key, $value := .Values.streams.config }} + - name: {{ printf "STREAMS_%s" $key | replace "." "_" | upper | quote }} + value: {{ $value | quote }} {{- end }} {{- range $key, $value := .Values.secrets }} - name: "{{ $key }}" @@ -123,10 +129,6 @@ spec: name: {{ $value.name }} key: "{{ $value.key }}" {{- end }} - {{- range $key, $value := .Values.commandLine }} - - name: "{{ $root.Values.configurationEnvPrefix }}_{{ $key }}" - value: {{ $value | quote }} - {{- end }} {{- range $key, $value := .Values.env }} - name: {{ $key | quote }} value: {{ $value | quote }} diff --git a/charts/streams-app-cleanup-job/values.yaml b/charts/streams-app-cleanup-job/values.yaml index b3464e2a..7970c88e 100644 --- a/charts/streams-app-cleanup-job/values.yaml +++ b/charts/streams-app-cleanup-job/values.yaml @@ -39,7 +39,10 @@ streams: deleteOutput: false commandLine: {} -# MY_CLI_PARAM: "foo-bar" +# --my-cli-param: "foo-bar" +commandLineList: [] +# - --my-cli-param +# - foo-bar debug: false From 92c9d5290ea8b674087f63f696a144cd0e97787d Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Mon, 22 Jul 2024 16:29:37 +0200 Subject: [PATCH 3/3] Use args for CLI parameters --- .../templates/job.yaml | 4 -- charts/producer-app/templates/pod.yaml | 4 -- .../templates/job.yaml | 54 +++++++++---------- 3 files changed, 27 insertions(+), 35 deletions(-) diff --git a/charts/producer-app-cleanup-job/templates/job.yaml b/charts/producer-app-cleanup-job/templates/job.yaml index 581b342a..150ca440 100644 --- a/charts/producer-app-cleanup-job/templates/job.yaml +++ b/charts/producer-app-cleanup-job/templates/job.yaml @@ -105,10 +105,6 @@ spec: name: {{ $value.name }} key: "{{ $value.key }}" {{- end }} - {{- range $key, $value := .Values.commandLine }} - - name: "{{ $root.Values.configurationEnvPrefix }}_{{ $key }}" - value: {{ $value | quote }} - {{- end }} {{- range $key, $value := .Values.env }} - name: {{ $key | quote }} value: {{ $value | quote }} diff --git a/charts/producer-app/templates/pod.yaml b/charts/producer-app/templates/pod.yaml index 76a7f333..76af9ddf 100644 --- a/charts/producer-app/templates/pod.yaml +++ b/charts/producer-app/templates/pod.yaml @@ -90,10 +90,6 @@ spec: name: {{ $value.name }} key: "{{ $value.key }}" {{- end }} - {{- range $key, $value := .Values.commandLine }} - - name: "{{ $root.Values.configurationEnvPrefix }}_{{ $key }}" - value: {{ $value | quote }} - {{- end }} {{- range $key, $value := .Values.env }} - name: {{ $key | quote }} value: {{ $value | quote }} diff --git a/charts/streams-app-cleanup-job/templates/job.yaml b/charts/streams-app-cleanup-job/templates/job.yaml index b304c469..60a47ea9 100644 --- a/charts/streams-app-cleanup-job/templates/job.yaml +++ b/charts/streams-app-cleanup-job/templates/job.yaml @@ -56,58 +56,58 @@ spec: resources: {{ toYaml .Values.resources | indent 12 }} args: - {{- if hasKey .Values.streams "brokers" }} + {{- if hasKey .Values.streams "brokers" }} - --brokers - {{ .Values.streams.brokers | quote }} - {{- end }} - {{- if hasKey .Values.streams "schemaRegistryUrl" }} + {{- end }} + {{- if hasKey .Values.streams "schemaRegistryUrl" }} - --schema-registry-url - {{ .Values.streams.schemaRegistryUrl | quote }} - {{- end }} - {{- if hasKey .Values "debug" }} + {{- end }} + {{- if hasKey .Values "debug" }} - --debug - {{ .Values.debug | quote }} - {{- end }} - {{- range .Values.streams.inputTopics }} + {{- end }} + {{- range .Values.streams.inputTopics }} - --input-topics - {{ . | quote }} - {{- end }} - {{- if hasKey .Values.streams "inputPattern" }} + {{- end }} + {{- if hasKey .Values.streams "inputPattern" }} - --input-pattern - {{ .Values.streams.inputPattern | quote }} - {{- end }} - {{- if hasKey .Values.streams "outputTopic" }} + {{- end }} + {{- if hasKey .Values.streams "outputTopic" }} - --output-topic - {{ .Values.streams.outputTopic | quote }} - {{- end }} - {{- if hasKey .Values.streams "errorTopic" }} + {{- end }} + {{- if hasKey .Values.streams "errorTopic" }} - --error-topic - {{ .Values.streams.errorTopic | quote }} - {{- end }} - {{- range $key, $value := .Values.streams.extraOutputTopics }} + {{- end }} + {{- range $key, $value := .Values.streams.extraOutputTopics }} - --extra-output-topics - {{ $key }}={{ $value }} - {{- end }} - {{- range $key, $value := .Values.streams.extraInputTopics }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputTopics }} - --extra-input-topics - {{ $key }}={{ $value | join ";" }} - {{- end }} - {{- range $key, $value := .Values.streams.extraInputPatterns }} + {{- end }} + {{- range $key, $value := .Values.streams.extraInputPatterns }} - --extra-input-patterns - {{ $key }}={{ $value }} - {{- end }} - {{- range $key, $value := .Values.commandLine }} + {{- end }} + {{- range $key, $value := .Values.commandLine }} - {{ $key | quote }} - {{ $value | quote }} - {{- end }} - {{- range .Values.commandLineList }} + {{- end }} + {{- range .Values.commandLineList }} - {{ . | quote }} - {{- end }} - {{- if .Values.streams.deleteOutput }} + {{- end }} + {{- if .Values.streams.deleteOutput }} - clean - {{- else }} + {{- else }} - reset - {{- end }} + {{- end }} env: - name: ENV_PREFIX value: {{ .Values.configurationEnvPrefix }}_