diff --git a/charts/cf-vcluster/Chart.yaml b/charts/cf-vcluster/Chart.yaml index 44bc731..a0dbc2b 100644 --- a/charts/cf-vcluster/Chart.yaml +++ b/charts/cf-vcluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cf-vcluster description: Umbrella chart over vCluster adjusted for Codefresh use cases - mainly in Crossplane compositions type: application -version: 0.28.0-1 +version: 0.28.0-2 appVersion: "0.28.0" dependencies: - name: vcluster diff --git a/charts/cf-vcluster/README.md b/charts/cf-vcluster/README.md index 2065499..b573ec5 100644 --- a/charts/cf-vcluster/README.md +++ b/charts/cf-vcluster/README.md @@ -1,6 +1,6 @@ # cf-vcluster -![Version: 0.28.0-1](https://img.shields.io/badge/Version-0.28.0--1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.28.0](https://img.shields.io/badge/AppVersion-0.28.0-informational?style=flat-square) +![Version: 0.28.0-2](https://img.shields.io/badge/Version-0.28.0--2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.28.0](https://img.shields.io/badge/AppVersion-0.28.0-informational?style=flat-square) Umbrella chart over vCluster adjusted for Codefresh use cases - mainly in Crossplane compositions diff --git a/charts/cf-vcluster/templates/_cf_helpers.tpl b/charts/cf-vcluster/templates/_cf_helpers.tpl index 60e79d9..39bedb4 100644 --- a/charts/cf-vcluster/templates/_cf_helpers.tpl +++ b/charts/cf-vcluster/templates/_cf_helpers.tpl @@ -1,9 +1,9 @@ {{- define "cf-vcluster.kubeconfighost" -}} {{ if .Values.global.ingress.public.enabled -}} - {{- tpl (printf "%s.%s" .Values.global.ingress.public.host.name .Values.global.ingress.public.host.domain ) . -}} + {{- tpl (printf "https://%s.%s" .Values.global.ingress.public.host.name .Values.global.ingress.public.host.domain ) . -}} {{- else if .Values.global.ingress.internal.enabled }} - {{- tpl (printf "%s.%s" .Values.global.ingress.internal.host.name .Values.global.ingress.internal.host.domain) . -}} + {{- tpl (printf "https://%s.%s" .Values.global.ingress.internal.host.name .Values.global.ingress.internal.host.domain) . -}} {{- else -}} - {{- printf "%s.%s.svc.cluster.local" .Release.Name .Release.Namespace -}} + {{- printf "https://%s.%s.svc.cluster.local" .Release.Name .Release.Namespace -}} {{- end -}} {{- end -}}