Skip to content

Commit

Permalink
making some changes with this deployment get all components working t…
Browse files Browse the repository at this point in the history
…ogether

Signed-off-by: Matt Halder <[email protected]>
  • Loading branch information
rustyShacklefurd committed Aug 17, 2023
1 parent 1e76f11 commit 61c75d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions charts/templates/server/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ printf "%s-%s-%s" "sourcify.name" "config" "server"}}
labels:
{{- include "sourcify.labels" . | nindent 4 }}
{{- include "sourcify.server.selectorLabels" . | nindent 4 }}
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 }}
3 changes: 3 additions & 0 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ repository:
paths: []
tls: []

config:
url: localhost

server:
## Deploy sourcify server
enabled: true
Expand Down

0 comments on commit 61c75d9

Please sign in to comment.