Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/chart/templates/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
secret: { name: utopia-db-credentials }
postInitApplicationSQL:
- CREATE EXTENSION IF NOT EXISTS vector
- DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_roles WHERE rolname = 'utopia_app') THEN CREATE ROLE utopia_app LOGIN; END IF; END $$
- CREATE ROLE utopia_app LOGIN
- GRANT CONNECT ON DATABASE utopia TO utopia_app
{{- end }}
{{- if .Values.database.restore.host }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ spec:
{{- with .Values.ingress.className }}
ingressClassName: {{ . }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
- hosts: [{{ .Values.hostname }}]
secretName: utopia-tls
{{- end }}
rules:
- host: {{ .Values.hostname }}
http:
Expand Down
2 changes: 2 additions & 0 deletions deploy/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ ingress:
clusterIssuer: ""
# true: annotate the host for external-dns.
externalDns: false
# false: no tls section, for a host served over plain HTTP.
tls: true
# Controller-specific settings, e.g. body size and read timeout.
annotations: {}

Expand Down
Loading