Skip to content

Commit

Permalink
fix: templating extraEnvVariables from values
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez authored and Diego Rodriguez committed Sep 27, 2023
1 parent 41493d8 commit c7d929b
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 38 deletions.
2 changes: 1 addition & 1 deletion charts/alert-archive-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: A Helm chart for Kubernetes
name: alert-archive-step
type: application
version: 1.2.1
version: 1.2.2
4 changes: 2 additions & 2 deletions charts/alert-archive-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ spec:
name: kafka-auth
key: password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/correction-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Correction step chart
name: correction-step
type: application
version: 1.2.2
version: 1.2.3
4 changes: 2 additions & 2 deletions charts/correction-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/feature-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Step for feature calculation
name: feature-step
type: application
version: 1.4.1
version: 1.4.2
4 changes: 2 additions & 2 deletions charts/feature-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ spec:
secretKeyRef:
name: kafka-auth
key: password
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 14 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/lc-classifier-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Lightcurve classifier step
name: lc-classifier-step
type: application
version: 4.8.1
version: 4.8.2
4 changes: 2 additions & 2 deletions charts/lc-classifier-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ spec:
configMapKeyRef:
name: {{ include "lc-classifier-step.fullname" . }}
key: step-parser-class
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/lightcurve-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Full lightcurve provider step
name: lightcurve-step
type: application
version: 1.3.1
version: 1.3.2
4 changes: 2 additions & 2 deletions charts/lightcurve-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ spec:
configMapKeyRef:
name: {{ include "lightcurve-step.fullname" . }}
key: pyroscope-server
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/magstats-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: A Helm chart for Kubernetes
name: magstats-step
type: application
version: 1.2.1
version: 1.2.2
4 changes: 2 additions & 2 deletions charts/magstats-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/prv_candidates/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Previous candidates processor step
name: prv-candidates
type: application
version: 1.3.1
version: 1.3.2
4 changes: 2 additions & 2 deletions charts/prv_candidates/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end}}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/scribe/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.1
version: 1.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions charts/scribe/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/sorting-hat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: Sorting Hat deployment chart
name: sorting-hat
type: application
version: 2.6.1
version: 2.6.2
3 changes: 1 addition & 2 deletions charts/sorting-hat/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
name: '{{ include "sorting-hat.fullname" . }}'
namespace: {{ .Values.namespace }}
data:
class-prefix: {{ .Values.configmap.classPrefix }}
consumer-topics: "{{ .Values.configmap.consumerTopics }}"
topic-strategy-topic-format: "{{ .Values.configmap.topicStrategy.topicFormat }}"
topic-strategy-date-format: "{{ .Values.configmap.topicStrategy.dateFormat }}"
Expand All @@ -15,7 +14,7 @@ data:
consumer-class: {{ .Values.configmap.consumerClass }}
producer-server: {{ .Values.configmap.producerServer }}
producer-topic: {{ .Values.configmap.producerTopic }}
producer-message-max-bytes: {{ .Values.configmap.producerMessageMaxBytes }}
producer-message-max-bytes: "{{ .Values.configmap.producerMessageMaxBytes }}"
pyroscope-server: {{ .Values.configmap.pyroscopeServer }}
metrics-server: {{ .Values.configmap.metricsServer }}
metrics-topic: {{ .Values.configmap.metricsTopic }}
Expand Down
4 changes: 2 additions & 2 deletions charts/sorting-hat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/step_starter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.1
version: 1.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions charts/step_starter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ spec:
name: kafka-auth
key: password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/watchlist-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "1.1.4"
description: A Helm chart for Kubernetes
name: watchlist-step
type: application
version: 1.2.1
version: 1.2.2
4 changes: 2 additions & 2 deletions charts/watchlist-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ spec:
name: kafka-auth
key: metrics-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down
2 changes: 1 addition & 1 deletion charts/xmatch-step/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: "6.0.0"
description: A Helm chart for Kubernetes
name: xmatch-step
type: application
version: 2.3.1
version: 2.3.2
4 changes: 2 additions & 2 deletions charts/xmatch-step/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ spec:
name: kafka-auth
key: scribe-password
{{- end }}
{{- with .Values.extraEnvVariables}}
{{- toYaml . | nindent 12 }}
{{- with .Values.extraEnvVariables }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end}}
{{- with .Values.affinity }}
affinity:
Expand Down

0 comments on commit c7d929b

Please sign in to comment.