Fix optional=false components (#402)

This commit is contained in:
Andrei Kvapil
2024-10-08 11:30:05 +02:00
committed by GitHub
parent 65bdb7bd7b
commit cbadfef3d8

View File

@@ -12,7 +12,7 @@
{{- range $x := $bundle.releases }}
{{- if not (has $x.name $disabledComponents) }}
{{- if and ($x.optional) (has $x.name $enabledComponents) }}
{{- if or (not $x.optional) (and ($x.optional) (has $x.name $enabledComponents)) }}
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease