From 4f9602936c62c9336cac006bd13e2aad1f74c15d Mon Sep 17 00:00:00 2001
From: Fabian Schindler <fabian.schindler.strauss@gmail.com>
Date: Fri, 1 Apr 2022 16:06:59 +0200
Subject: [PATCH] Fixing if/else/else if blocks

---
 charts/vs-registrar/files/registrar-config.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/charts/vs-registrar/files/registrar-config.yaml b/charts/vs-registrar/files/registrar-config.yaml
index 0eca659..30a4cd5 100644
--- a/charts/vs-registrar/files/registrar-config.yaml
+++ b/charts/vs-registrar/files/registrar-config.yaml
@@ -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 }}
-- 
GitLab