Skip to content

Commit aabdc59

Browse files
committed
support disabling sealed-secrets (not tested fully)
1 parent 1d4360f commit aabdc59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

charts/gitops-runtime/templates/_helpers.tpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ Output comma separated list of installed runtime components
242242
{{- define "codefresh-gitops-runtime.component-list"}}
243243
{{- $argoCD := dict "name" "argocd" "version" (get .Subcharts "argo-cd").Chart.AppVersion }}
244244
{{- $argoEvents := dict "name" "argo-events" "version" (get .Subcharts "argo-events").Chart.AppVersion }}
245+
{{- $internalRouter := dict "name" "internal-router" "version" .Chart.AppVersion }}
246+
{{- $appProxy := dict "name" "app-proxy" "version" (index (get .Values "app-proxy") "image" "tag") }}
247+
{{- $comptList := list $argoCD $argoEvents $appProxy $internalRouter}}
245248
{{- if index (get .Values "sealed-secrets") "enabled" }}
246249
{{- $sealedSecrets := dict "name" "sealed-secrets" "version" (get .Subcharts "sealed-secrets").Chart.AppVersion }}
247250
{{- $comptList = append $comptList $sealedSecrets }}
248251
{{- end }}
249-
{{- $internalRouter := dict "name" "internal-router" "version" .Chart.AppVersion }}
250-
{{- $appProxy := dict "name" "app-proxy" "version" (index (get .Values "app-proxy") "image" "tag") }}
251-
{{- $comptList := list $argoCD $argoEvents $appProxy $internalRouter}}
252252
{{- if index (get .Values "argo-rollouts") "enabled" }}
253253
{{- $rolloutReporter := dict "name" "rollout-reporter" "version" .Chart.AppVersion }}
254254
{{- $argoRollouts := dict "name" "argo-rollouts" "version" (get .Subcharts "argo-rollouts").Chart.AppVersion }}

0 commit comments

Comments
 (0)