Skip to content

Commit 218f909

Browse files
committed
support disabling sealed-secrets (not tested fully)
1 parent 47910dd commit 218f909

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
@@ -232,13 +232,13 @@ Output comma separated list of installed runtime components
232232
{{- define "codefresh-gitops-runtime.component-list"}}
233233
{{- $argoCD := dict "name" "argocd" "version" (get .Subcharts "argo-cd").Chart.AppVersion }}
234234
{{- $argoEvents := dict "name" "argo-events" "version" (get .Subcharts "argo-events").Chart.AppVersion }}
235+
{{- $internalRouter := dict "name" "internal-router" "version" .Chart.AppVersion }}
236+
{{- $appProxy := dict "name" "app-proxy" "version" (index (get .Values "app-proxy") "image" "tag") }}
237+
{{- $comptList := list $argoCD $argoEvents $appProxy $internalRouter}}
235238
{{- if index (get .Values "sealed-secrets") "enabled" }}
236239
{{- $sealedSecrets := dict "name" "sealed-secrets" "version" (get .Subcharts "sealed-secrets").Chart.AppVersion }}
237240
{{- $comptList = append $comptList $sealedSecrets }}
238241
{{- end }}
239-
{{- $internalRouter := dict "name" "internal-router" "version" .Chart.AppVersion }}
240-
{{- $appProxy := dict "name" "app-proxy" "version" (index (get .Values "app-proxy") "image" "tag") }}
241-
{{- $comptList := list $argoCD $argoEvents $appProxy $internalRouter}}
242242
{{- if index (get .Values "argo-rollouts") "enabled" }}
243243
{{- $rolloutReporter := dict "name" "rollout-reporter" "version" .Chart.AppVersion }}
244244
{{- $argoRollouts := dict "name" "argo-rollouts" "version" (get .Subcharts "argo-rollouts").Chart.AppVersion }}

0 commit comments

Comments
 (0)