From 7ce854d026e151f140105e511f180eedd5518bfc Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Fri, 22 Nov 2024 11:35:02 +0100 Subject: [PATCH] attempt fix codefresh deployment issues --- deployment-configuration/helm/templates/auto-secrets.yaml | 4 ++-- deployment/codefresh-test.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment-configuration/helm/templates/auto-secrets.yaml b/deployment-configuration/helm/templates/auto-secrets.yaml index ef6da926..b59cd03f 100644 --- a/deployment-configuration/helm/templates/auto-secrets.yaml +++ b/deployment-configuration/helm/templates/auto-secrets.yaml @@ -45,9 +45,9 @@ stringData: {{- end }}{{- end }} {{- range $subapp := $app }} {{- if contains "map" (typeOf $subapp) }} - {{- if hasKey $subapp "harness" }} + {{- if hasKey $subapp "harness" }}{{- if $app.harness.secrets }}{{- if ne (len $app.harness.secrets) 0 }} {{- include "deploy_utils.secret" (dict "root" $ "app" $subapp) }} - {{- end }} + {{- end }}{{- end }}{{- end }} {{- end }} {{- end }} {{- end }} \ No newline at end of file diff --git a/deployment/codefresh-test.yaml b/deployment/codefresh-test.yaml index 3a144406..b6a6e883 100644 --- a/deployment/codefresh-test.yaml +++ b/deployment/codefresh-test.yaml @@ -368,7 +368,7 @@ steps: working_directory: ./${{CF_REPO_NAME}} title: Installing chart arguments: - helm_version: 3.6.2 + helm_version: 3.11.0 chart_name: deployment/helm release_name: test-${{NAMESPACE_BASENAME}} kube_context: '${{CLUSTER_NAME}}'