Skip to content

Commit 8cee857

Browse files
committed
WIP: Fix prefix
Signed-off-by: Todd Short <[email protected]>
1 parent 3444fdd commit 8cee857

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

helm/olmv1/templates/_helpers.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Create chart name and version as used by the chart label.
1616
Return the name of the active component for a prefix, but _only_ if one is enabled
1717
*/}}
1818
{{- define "component.name.prefix" -}}
19-
{{- if and (.Values.components.operatorController.enabled) (not .Values.components.catalogd.enabled) }}
19+
{{- if and (.Values.components.operatorController.enabled) (not .Values.components.catalogd.enabled) -}}
2020
operator-controller-
21-
{{- else if and (not .Values.components.operatorController.enabled) (.Values.components.catalogd.enabled) }}
21+
{{- else if and (not .Values.components.operatorController.enabled) (.Values.components.catalogd.enabled) -}}
2222
catalogd-
23-
{{- end }}
24-
{{- end }}
23+
{{- end -}}
24+
{{- end -}}
2525

2626
{{/*
2727
Common labels

0 commit comments

Comments
 (0)