diff --git a/helm/Chart.lock b/helm/Chart.lock deleted file mode 100644 index 6fc2ade..0000000 --- a/helm/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: oci://acrarolibotnonprod.azurecr.io/helm - version: 1.0.1 -digest: sha256:27fdfb18d782c663c136925b68ecb27e795f84d90f2396ad7089c9ad26178903 -generated: "2024-04-18T10:42:30.484891+03:00" diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl index cd3e36f..a3e3e7c 100644 --- a/helm/templates/_helpers.tpl +++ b/helm/templates/_helpers.tpl @@ -82,11 +82,6 @@ Return the proper Docker Image Registry Secret Names {{- end -}} {{/* -Return the proper image pullPolicy -*/}} -{{- define "overseer.pullPolicy" -}} -{{ include "common.images.pullPolicy" (dict "imageRoot" .Values.image "global" .Values.global) }} -{{- end -}} {{/* Returns the cloud provider name from global if exists or from the chart's values, defaults to minikube @@ -101,16 +96,10 @@ Returns the cloud provider name from global if exists or from the chart's values {{- end -}} {{- end -}} -{{/* -Return the proper fully qualified app name -*/}} -{{- define "overseer.fullname" -}} -{{ include "common.names.fullname" . }} -{{- end -}} {{/* -Return the proper chart name +Create chart name and version as used by the chart label. */}} {{- define "overseer.chart" -}} -{{ include "common.names.chart" . }} -{{- end -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} \ No newline at end of file