do-test: migrate vikunja to official chart
This commit is contained in:
parent
66a53efd4f
commit
4134834d52
|
@ -7,12 +7,11 @@ spec:
|
||||||
releaseName: vikunja-test
|
releaseName: vikunja-test
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
# https://github.com/truecharts/charts/blob/master/charts/stable/vikunja/Chart.yaml
|
|
||||||
chart: vikunja
|
chart: vikunja
|
||||||
version: 6.0.22
|
version: 0.2.1
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: truecharts
|
name: vikunja
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
interval: 5m
|
interval: 5m
|
||||||
valuesFrom:
|
valuesFrom:
|
||||||
|
|
|
@ -6,44 +6,30 @@ metadata:
|
||||||
data:
|
data:
|
||||||
# https://github.com/truecharts/charts/blob/master/charts/stable/vikunja/values.yaml
|
# https://github.com/truecharts/charts/blob/master/charts/stable/vikunja/values.yaml
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
image:
|
frontend:
|
||||||
tag: unstable
|
image:
|
||||||
imagePullPolicy: Always
|
tag: unstable
|
||||||
frontendImage:
|
pullPolicy: Always
|
||||||
tag: unstable
|
ingress:
|
||||||
imagePullPolicy: Always
|
|
||||||
configmap:
|
|
||||||
config:
|
|
||||||
data:
|
|
||||||
vikunja.yaml: |-
|
|
||||||
auth:
|
|
||||||
openid:
|
|
||||||
# https://vikunja.io/docs/config-options/#openid
|
|
||||||
# Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
|
|
||||||
enabled: true
|
|
||||||
redirecturl: "https://do-test.${domain}/auth/openid/"
|
|
||||||
providers:
|
|
||||||
- name: Stackspin
|
|
||||||
authurl: "https://sso.${domain}/"
|
|
||||||
clientid: "${client_id}"
|
|
||||||
clientsecret: "${client_secret}"
|
|
||||||
service:
|
|
||||||
frontendurl: "https://do-test.${domain}"
|
|
||||||
motd: "This is a test instance, do not use for production data as it can vanish without notice! Use Stackspin login, as usual."
|
|
||||||
timezone: "CET"
|
|
||||||
JWTSecret: "${jwt}"
|
|
||||||
database:
|
|
||||||
type: postgres
|
|
||||||
host: vikunja-test-postgresql
|
|
||||||
password: "${postgresql_password}"
|
|
||||||
log:
|
|
||||||
path: "/app/vikunja"
|
|
||||||
http: stdout
|
|
||||||
database: stderr
|
|
||||||
databaselevel: debug
|
|
||||||
ingress:
|
|
||||||
main:
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
primary: true
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/tls-acme: "true"
|
||||||
|
hosts:
|
||||||
|
- host: "do-test.${domain}"
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- secretName: vikunja-test-tls
|
||||||
|
hosts:
|
||||||
|
- "do-test.${domain}"
|
||||||
|
api:
|
||||||
|
image:
|
||||||
|
tag: unstable
|
||||||
|
pullPolicy: Always
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
primary: false
|
primary: false
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
|
@ -56,25 +42,41 @@ data:
|
||||||
- secretName: vikunja-test-tls
|
- secretName: vikunja-test-tls
|
||||||
hosts:
|
hosts:
|
||||||
- "do-test.${domain}"
|
- "do-test.${domain}"
|
||||||
|
config: |-
|
||||||
|
auth:
|
||||||
|
openid:
|
||||||
|
# https://vikunja.io/docs/config-options/#openid
|
||||||
|
# Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
|
||||||
|
enabled: true
|
||||||
|
redirecturl: "https://do-test.${domain}/auth/openid/"
|
||||||
|
providers:
|
||||||
|
- name: Stackspin
|
||||||
|
authurl: "https://sso.${domain}/"
|
||||||
|
clientid: "${client_id}"
|
||||||
|
clientsecret: "${client_secret}"
|
||||||
|
service:
|
||||||
|
frontendurl: "https://do-test.${domain}"
|
||||||
|
motd: "This is a test instance, do not use for production data as it can vanish without notice! Use Stackspin login, as usual."
|
||||||
|
timezone: "CET"
|
||||||
|
JWTSecret: "${jwt}"
|
||||||
|
database:
|
||||||
|
type: postgres
|
||||||
|
host: vikunja-test-postgresql
|
||||||
|
password: "${postgresql_password}"
|
||||||
|
log:
|
||||||
|
path: "/app/vikunja"
|
||||||
|
http: stdout
|
||||||
|
database: stderr
|
||||||
|
databaselevel: debug
|
||||||
#persistence:
|
#persistence:
|
||||||
# files:
|
# files:
|
||||||
# labels:
|
# labels:
|
||||||
# stackspin.net/backupSet: "vikunja"
|
# stackspin.net/backupSet: "vikunja"
|
||||||
|
postgresqlEnabled: true
|
||||||
postgresql:
|
postgresql:
|
||||||
# https://github.com/truecharts/charts/blob/master/charts/dependency/postgresql/values.yaml
|
|
||||||
#enabled: true
|
|
||||||
postgresqlDatabase: vikunja
|
postgresqlDatabase: vikunja
|
||||||
postgresqlUsername: vikunja
|
postgresqlUsername: vikunja
|
||||||
postgresqlPassword: "${postgresql_password}"
|
postgresqlPassword: "${postgresql_password}"
|
||||||
#persistence:
|
persistence:
|
||||||
# db:
|
enabled: true
|
||||||
# enabled: true
|
existingClaim: vikunja-postgres
|
||||||
# # -- Sets the persistence type
|
|
||||||
# # Valid options are: simplePVC, simpleHP, pvc, emptyDir, secret, configMap, hostPath or custom
|
|
||||||
# type: pvc
|
|
||||||
# mountPath: "/bitnami/postgresql"
|
|
||||||
# # -- If you want to reuse an existing claim, the name of the existing PVC can be passed here.
|
|
||||||
# existingClaim: vikunja-test-postgres
|
|
||||||
#volumeClaimTemplates:
|
|
||||||
# db:
|
|
||||||
# enabled: false
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# For Vikunja
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: k8s-at-home
|
name: vikunja
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 60m
|
interval: 60m
|
||||||
url: https://k8s-at-home.com/charts/
|
url: https://kolaente.dev/api/packages/vikunja/helm
|
Loading…
Reference in New Issue