From 8d3439c55430a57ca71c45705b96df8c56f7a6a8 Mon Sep 17 00:00:00 2001
From: Fabian Schindler <fabian.schindler.strauss@gmail.com>
Date: Fri, 1 Apr 2022 15:57:44 +0200
Subject: [PATCH] Adding missing config path for http sources

---
 charts/vs-registrar/files/registrar-config.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/charts/vs-registrar/files/registrar-config.yaml b/charts/vs-registrar/files/registrar-config.yaml
index e1f7107..0eca659 100644
--- a/charts/vs-registrar/files/registrar-config.yaml
+++ b/charts/vs-registrar/files/registrar-config.yaml
@@ -19,6 +19,7 @@ sources:
       project_domain_id: {{ template "vs-registrar.envVarQuote" $val.project_domain_id }}
       {{- if $val.container }}
       container: {{ template "vs-registrar.envVarQuote" $val.container }}
+      {{- end }}
     {{- end }}
     {{- else if eq $type "s3" }}
       bucket_name: {{ $val.bucket | default "null" }}
@@ -29,6 +30,9 @@ sources:
       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 }}
 {{- end }}
 
 backends:
-- 
GitLab