diff --git a/manifest_staging/charts/csi-secrets-store-provider-azure/Chart.yaml b/manifest_staging/charts/csi-secrets-store-provider-azure/Chart.yaml index d7e9cdae7..26f62d75c 100644 --- a/manifest_staging/charts/csi-secrets-store-provider-azure/Chart.yaml +++ b/manifest_staging/charts/csi-secrets-store-provider-azure/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: csi-secrets-store-provider-azure -version: 1.0.1 +version: 1.0.2 appVersion: 1.0.1 kubeVersion: ">=1.16.0-0" description: A Helm chart to install the Secrets Store CSI Driver and the Azure Keyvault Provider inside a Kubernetes cluster. diff --git a/manifest_staging/charts/csi-secrets-store-provider-azure/templates/_helpers.tpl b/manifest_staging/charts/csi-secrets-store-provider-azure/templates/_helpers.tpl index da9dc3435..f6dfcecec 100644 --- a/manifest_staging/charts/csi-secrets-store-provider-azure/templates/_helpers.tpl +++ b/manifest_staging/charts/csi-secrets-store-provider-azure/templates/_helpers.tpl @@ -12,6 +12,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this If release name contains chart name it will be used as a full name. */}} {{- define "sscdpa.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} {{- $name := default .Chart.Name .Values.nameOverride -}} {{- if contains $name .Release.Name -}} {{- .Release.Name | trunc 63 | trimSuffix "-" -}} @@ -19,6 +22,7 @@ If release name contains chart name it will be used as a full name. {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{- end -}} +{{- end -}} {{/* Standard labels for helm resources diff --git a/manifest_staging/charts/csi-secrets-store-provider-azure/values.yaml b/manifest_staging/charts/csi-secrets-store-provider-azure/values.yaml index 01c7b318a..ba36e1877 100644 --- a/manifest_staging/charts/csi-secrets-store-provider-azure/values.yaml +++ b/manifest_staging/charts/csi-secrets-store-provider-azure/values.yaml @@ -1,3 +1,6 @@ +nameOverride: "" +fullnameOverride: "" + # Values populated by Azure Arc K8s RP during the installation of the extension. Azure: proxySettings: