do: fix vikunja database host

This commit is contained in:
xeruf 2022-07-13 10:55:27 +01:00
parent 1bc8835d16
commit eab3f30f54
2 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: stackspin-vikunja-values name: stackspin-{{ .Release.Name }}-values
namespace: stackspout namespace: stackspout
data: data:
# Defaults: https://github.com/k8s-at-home/charts/blob/master/charts/stable/vikunja/values.yaml # Defaults: https://github.com/k8s-at-home/charts/blob/master/charts/stable/vikunja/values.yaml
@ -27,9 +27,9 @@ data:
motd: "Please allow public profile discovery in settings!" motd: "Please allow public profile discovery in settings!"
timezone: "CET" timezone: "CET"
database: database:
host: db
type: postgres type: postgres
password: "${postgres_password}" host: {{ .Release.Name }}-postgresql
password: "${postgresql_password}"
ingress: ingress:
main: main:
enabled: true enabled: true
@ -42,7 +42,7 @@ data:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- secretName: vikunja-tls - secretName: {{ .Release.Name }}-tls
hosts: hosts:
- "do.${domain}" - "do.${domain}"
additionalContainers: additionalContainers:
@ -52,9 +52,9 @@ data:
image: vikunja/frontend:0.18.2 image: vikunja/frontend:0.18.2
postgresql: postgresql:
enabled: true enabled: true
postgresqlUsername: vikunja postgresqlDatabase: {{ .Release.Name }}
postgresqlPassword: "${postgres_password}" postgresqlUsername: {{ .Release.Name }}
postgresqlDatabase: vikunja postgresqlPassword: "${postgresql_password}"
persistence: persistence:
enabled: true enabled: true
existingClaim: vikunja-postgres existingClaim: {{ .Release.Name }}-postgres

View File

@ -3,4 +3,4 @@ kind: Secret
metadata: metadata:
name: stackspin-vikunja-variables name: stackspin-vikunja-variables
data: data:
postgres_password: "{{ 32 | generate_password | b64encode }}" postgresql_password: "{{ 32 | generate_password | b64encode }}"