diff --git a/charts/service/Chart.yaml b/charts/service/Chart.yaml index afb32b0..24dfa3b 100644 --- a/charts/service/Chart.yaml +++ b/charts/service/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: service description: A generic k8s service chart type: application -version: 1.8.15 +version: 1.8.16 maintainers: - email: devops@codecademy.com name: devops diff --git a/charts/service/templates/deployment.yaml b/charts/service/templates/deployment.yaml index 56bcb57..9975bfe 100644 --- a/charts/service/templates/deployment.yaml +++ b/charts/service/templates/deployment.yaml @@ -120,13 +120,6 @@ spec: name: {{ .Values.envFromSecret }} {{- end }} env: - {{- range $key, $value := .Values.envKeyValue }} - - name: {{ $key }} - value: "{{ $value }}" - {{- end }} - {{- with .Values.env }} - {{- toYaml . | nindent 12 }} - {{- end }} {{- with .Values.datadog }} - name: DD_AGENT_HOST valueFrom: @@ -145,6 +138,13 @@ spec: fieldRef: fieldPath: metadata.labels['tags.datadoghq.com/version'] {{- end }} + {{- range $key, $value := .Values.envKeyValue }} + - name: {{ $key }} + value: "{{ $value }}" + {{- end }} + {{- with .Values.env }} + {{- toYaml . | nindent 12 }} + {{- end }} {{- if .Values.containerPort }} ports: - name: http