diff --git a/charts/kubezeroApp/Chart.yaml b/charts/kubezeroApp/Chart.yaml index 641169e7..7c176872 100644 --- a/charts/kubezeroApp/Chart.yaml +++ b/charts/kubezeroApp/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezeroApp description: KubeZero ArgoCD Application - Root chart of the KubeZero type: application -version: 0.1.4 +version: 0.1.5 home: https://kubezero.com keywords: - kubezero diff --git a/charts/kubezeroApp/templates/_apps_common.yaml b/charts/kubezeroApp/templates/_apps_common.yaml index 837de810..782fe30e 100644 --- a/charts/kubezeroApp/templates/_apps_common.yaml +++ b/charts/kubezeroApp/templates/_apps_common.yaml @@ -16,7 +16,13 @@ spec: repoURL: {{ default .root.Values.defaultSource.repoURL }} targetRevision: {{ default .root.Values.defaultSource.targetRevision }} {{- if eq .type "helm" }} + {{ $values := index .root.Values .name "values" }} path: {{ default .root.Values.defaultSource.pathPrefix }}charts/{{ .name }} + {{- if $values }} + helm: + values: +{{- toYaml $values | nindent 8 }} + {{- end }} {{- else }} path: {{ default .root.Values.defaultSource.pathPrefix }}artifacts/{{ .name }} {{- end }} diff --git a/charts/kubezeroApp/templates/cert-manager.yaml b/charts/kubezeroApp/templates/cert-manager.yaml index 74153c48..83d3733a 100644 --- a/charts/kubezeroApp/templates/cert-manager.yaml +++ b/charts/kubezeroApp/templates/cert-manager.yaml @@ -1,5 +1,5 @@ {{- if .Values.certManager.enabled }} -{{ template "kubezero.app" dict "root" . "name" "kubezeroCertManager" "type" "helm" }} +{{ template "kubezero.app" dict "root" . "name" "certManager" "type" "helm" }} --- apiVersion: v1 kind: Namespace