Skip to content

Commit cbadfef

Browse files
authored
Fix optional=false components (#402)
1 parent 65bdb7b commit cbadfef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/core/platform/templates/helmreleases.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
{{- range $x := $bundle.releases }}
1414
{{- if not (has $x.name $disabledComponents) }}
15-
{{- if and ($x.optional) (has $x.name $enabledComponents) }}
15+
{{- if or (not $x.optional) (and ($x.optional) (has $x.name $enabledComponents)) }}
1616
---
1717
apiVersion: helm.toolkit.fluxcd.io/v2
1818
kind: HelmRelease

0 commit comments

Comments
 (0)