From 9c9b003382f11034eb52520b1914ed5f7eb7ca1b Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Tue, 18 Apr 2023 08:44:16 +0300 Subject: [PATCH] CR-18228 fixed invalid provider name * updated chart version to `0.2.1-alpha.7` * renamed BITBUCKET_CLOUD to BITBUCKET_SERVER --- charts/gitops-runtime/Chart.yaml | 2 +- charts/gitops-runtime/README.md | 2 +- charts/gitops-runtime/templates/_helpers.tpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index 9ee9e348..b3e97832 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 0.1.27-helm-alpha description: A Helm chart for Codefresh gitops runtime name: gitops-runtime -version: 0.2.1-alpha.6 +version: 0.2.1-alpha.7 home: https://github.com/codefresh-io/gitops-runtime-helm keywords: - codefresh diff --git a/charts/gitops-runtime/README.md b/charts/gitops-runtime/README.md index f0148546..532cb716 100644 --- a/charts/gitops-runtime/README.md +++ b/charts/gitops-runtime/README.md @@ -1,6 +1,6 @@ # gitops-runtime -![Version: 0.2.1-alpha.6](https://img.shields.io/badge/Version-0.2.1--alpha.6-informational?style=flat-square) ![AppVersion: 0.1.27-helm-alpha](https://img.shields.io/badge/AppVersion-0.1.27--helm--alpha-informational?style=flat-square) +![Version: 0.2.1-alpha.7](https://img.shields.io/badge/Version-0.2.1--alpha.7-informational?style=flat-square) ![AppVersion: 0.1.27-helm-alpha](https://img.shields.io/badge/AppVersion-0.1.27--helm--alpha-informational?style=flat-square) A Helm chart for Codefresh gitops runtime diff --git a/charts/gitops-runtime/templates/_helpers.tpl b/charts/gitops-runtime/templates/_helpers.tpl index a124edc4..eab19ee9 100644 --- a/charts/gitops-runtime/templates/_helpers.tpl +++ b/charts/gitops-runtime/templates/_helpers.tpl @@ -228,11 +228,11 @@ Output comma separated list of installed runtime components ------------------------------------------------------------------------------------------------------------ {{- define "codefresh-gitops-runtime.git-integration.provider"}} {{- if .Values.global.codefresh.gitIntegration.provider.name }} - {{- $supportedProviders := list "GITHUB" "GITLAB" "BITBUCKET" "BITBUCKET_CLOUD" }} + {{- $supportedProviders := list "GITHUB" "GITLAB" "BITBUCKET" "BITBUCKET_SERVER" }} {{- if has .Values.global.codefresh.gitIntegration.provider.name $supportedProviders }} {{- print .Values.global.codefresh.gitIntegration.provider.name }} {{- else }} - {{ fail (printf "ERROR: Unsupported git provider %s. Currently supported: GITHUB,GITLAB,BITBUCKET,BITBUCKET_CLOUD" .Values.global.codefresh.gitIntegration.provider.name)}} + {{ fail (printf "ERROR: Unsupported git provider %s. Currently supported: GITHUB,GITLAB,BITBUCKET,BITBUCKET_SERVER" .Values.global.codefresh.gitIntegration.provider.name)}} {{- end }} {{- else }} {{ fail "Values.global.codefresh.gitIntegration.provider.name is required"}}