fix: traefik

This commit is contained in:
auricom
2021-08-09 01:50:30 +02:00
parent d55cce0e88
commit 296a956c03
73 changed files with 1167 additions and 969 deletions

View File

@@ -20,8 +20,21 @@ spec:
image:
repository: ghcr.io/linuxserver/bookstack
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "version-v21.05.4"
env:
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
DB_HOST: bookstack-mariadb
DB_DATABASE: bookstack
DB_USERNAME: bookstack
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
persistence:
config:
enabled: true
mountPath: /config
existingClaim: bookstack-config
mariadb:
enabled: true
image:
@@ -36,34 +49,25 @@ spec:
persistence:
enabled: true
existingClaim: bookstack-db
env:
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
DB_HOST: bookstack-mariadb
DB_DATABASE: bookstack
DB_USERNAME: bookstack
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
service:
main:
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
ingress:
main:
enabled: true
ingressClassName: "nginx"
ingressClassName: "traefik"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
forecastle.stakater.com/expose: "true"
forecastle.stakater.com/appName: "Bookstack"
forecastle.stakater.com/icon: "https://yunohost.org/user/images/logo-bookstack.png?height=80?height=80"
forecastle.stakater.com/network-restricted: "true"
hosts:
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
persistence:
config:
enabled: true
mountPath: /config
existingClaim: bookstack-config
tls:
- hosts:
- "bookstack.${SECRET_CLUSTER_DOMAIN}"
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"