From e1bf6c5633ff4754734edcb3d9a8b2e3a8ce4440 Mon Sep 17 00:00:00 2001 From: Tom Tankilevitch <59158507+Tankilevitch@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:38:26 +0300 Subject: [PATCH] fix secret condition (#119) --- charts/port-ocean/Chart.yaml | 2 +- charts/port-ocean/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/port-ocean/Chart.yaml b/charts/port-ocean/Chart.yaml index 83ab99c..222cb79 100644 --- a/charts/port-ocean/Chart.yaml +++ b/charts/port-ocean/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: port-ocean description: A Helm chart for Port Ocean integrations type: application -version: 0.3.1 +version: 0.3.2 appVersion: "0.1.0" home: https://getport.io/ sources: diff --git a/charts/port-ocean/templates/deployment.yaml b/charts/port-ocean/templates/deployment.yaml index c1cc154..bd132ed 100644 --- a/charts/port-ocean/templates/deployment.yaml +++ b/charts/port-ocean/templates/deployment.yaml @@ -65,8 +65,8 @@ spec: envFrom: - configMapRef: name: {{ include "port-ocean.configMapName" . }} - {{- if .Values.secret.useExistingSecret }} - {{- include "port-ocean.additionalSecrets" . | nindent 10 }} + {{- if "port-ocean.additionalSecrets" }} + {{- include "port-ocean.additionalSecrets" . | nindent 10 }} {{- end }} volumeMounts: {{- if .Values.extraVolumeMounts }}