From c610e123a9fe2af7e1aeecadf0bd7fcb857f570d Mon Sep 17 00:00:00 2001 From: 6l20 <6l20@users.noreply.github.com> Date: Tue, 7 Dec 2021 14:45:47 +0100 Subject: [PATCH] Add existing secret condition (#21) --- Chart.yaml | 2 +- templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index ffdb19e..04bec97 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -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.2 +version: 1.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 diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 5ccf1f7..e8a6eb9 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -103,7 +103,7 @@ spec: value: "true" - name: "SKIP_SETCAP" value: "true" - {{- if or $environment $environmentSecrets }} + {{- if or $environment $environmentSecrets $existingSecret }} envFrom: {{- if $environment }} - configMapRef: