From db68178fb2aa31604109def6fc26277ea7df427f Mon Sep 17 00:00:00 2001 From: ties Date: Thu, 29 Aug 2024 13:16:14 +0000 Subject: [PATCH] Update templates/helm.yaml --- templates/helm.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/helm.yaml b/templates/helm.yaml index 0ab4706..cd7068b 100644 --- a/templates/helm.yaml +++ b/templates/helm.yaml @@ -1,14 +1,14 @@ {{ $repository := .Values.subchartData.repository }} {{- if hasPrefix "oci://" .Values.subchartData.repository }} -{{- $repository = printf "%s/%s" .Values.subchartData.repository .Chart.Name }} +{{- $repository = printf "%s/%s" .Values.subchartData.repository .Values.name }} {{- end }} apiVersion: helm.cattle.io/v1 kind: HelmChart metadata: - name: {{ .Chart.Name }} + name: {{ .Values.name }} namespace: {{ .Values.namespace }} spec: - chart: {{ .Chart.Name }} + chart: {{ .Values.name }} repo: {{ $repository }} targetNamespace: {{ .namespace }} version: {{ .Values.subchartData.version }}