EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 4f960293 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Fixing if/else/else if blocks

parent 3600329e
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@ sources:
{{- if $val.container }}
container: {{ template "vs-registrar.envVarQuote" $val.container }}
{{- end }}
{{- end }}
{{- else if eq $type "s3" }}
bucket_name: {{ $val.bucket | default "null" }}
endpoint_url: {{ $val.endpoint_url | default "null" }}
......@@ -29,7 +28,6 @@ sources:
region_name: {{ $val.region_name }}
secret_access_key: {{ $val.secret_access_key }}
validate_bucket_name: {{ if hasKey $val "validate_bucket_name" }}{{ $val.validate_bucket_name }}{{ else }}true{{ end }}
{{- end }}
{{- else if eq $type "http" }}
endpoint_url: {{ $val.endpoint_url | default "null" }}
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment