Skip to content

Commit

Permalink
adding enable logic and server_url
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Halder <[email protected]>
  • Loading branch information
rustyShacklefurd committed Aug 17, 2023
1 parent 61c75d9 commit b8a8c44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/templates/server/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.server.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -8,4 +9,5 @@ metadata:
data:
REPOSITORY_PATH: {{ template "sourcify.fullname" . }}-repository # Repository service name in the same namespace
SERVER_PORT: {{ .Values.server.service.port }}
REPOSITORY_SERVER_URL: {{ .Values.repository.config.url }}
SERVER_URL: {{ .Values.repository.config.url }}
{{- end }}

0 comments on commit b8a8c44

Please sign in to comment.