From a0853cd9afd775be4951bef7281c8e8449be5501 Mon Sep 17 00:00:00 2001 From: Tim Birkett Date: Thu, 15 Jul 2021 16:53:59 +0100 Subject: [PATCH] fix(ecr): ecr-exporter 0.1.3 and env podSpec fix --- charts/ecr-exporter/Chart.yaml | 8 ++++---- charts/ecr-exporter/templates/deployment.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/ecr-exporter/Chart.yaml b/charts/ecr-exporter/Chart.yaml index 70004cb..bc8250c 100644 --- a/charts/ecr-exporter/Chart.yaml +++ b/charts/ecr-exporter/Chart.yaml @@ -15,12 +15,12 @@ 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: 0.1.2 +version: 0.1.3 # 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 # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 0.1.2 +appVersion: 0.1.3 keywords: - prometheus @@ -39,5 +39,5 @@ maintainers: annotations: artifacthub.io/changes: | - - Add aws_ecr_image_pushed_at_timestamp_seconds - - Add aws_ecr_image_scan_completed_at_timestamp_seconds \ No newline at end of file + - ECR exporter v0.1.3 + - Fix env placement in podSpec \ No newline at end of file diff --git a/charts/ecr-exporter/templates/deployment.yaml b/charts/ecr-exporter/templates/deployment.yaml index c68a749..5b2ea6c 100644 --- a/charts/ecr-exporter/templates/deployment.yaml +++ b/charts/ecr-exporter/templates/deployment.yaml @@ -48,6 +48,10 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.env }} + env: + {{- toYaml . | nindent 12 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} @@ -60,8 +64,4 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.env }} - env: - {{- toYaml . | nindent 8 }} - {{- end }}