Commit c8708bba authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Check if enabled is a boolean value before checking truthness

parent b5cb48fa
Pipeline #49243039 failed with stages
in 9 minutes and 44 seconds
......@@ -11,7 +11,7 @@ Usage:
*/}}
{{- define "gitlab.appConfig.objectStorage.configuration" -}}
{{ .name }}:
enabled: {{ eq .config.enabled true }}
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
object_store:
enabled: true
remote_directory: {{ .config.bucket }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment