diff --git a/charts/vs-registrar/files/registrar-config.yaml b/charts/vs-registrar/files/registrar-config.yaml
index 0eca659c429cbef2e929b95181857df68b8886ce..30a4cd5d12f9bbd09746a4b5249320eaf0ed76dc 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 }}