mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: bookstack
|
|
namespace: data
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
|
chart: bookstack
|
|
version: 1.1.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home-charts
|
|
namespace: flux-system
|
|
interval: 5m
|
|
values:
|
|
image:
|
|
repository: ghcr.io/linuxserver/bookstack
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "version-v21.04.2"
|
|
mariadb:
|
|
enabled: true
|
|
image:
|
|
repository: bitnami/mariadb
|
|
tag: "10.5.10"
|
|
auth:
|
|
database: bookstack
|
|
username: bookstack
|
|
password: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
|
rootPassword: ${SECRET_BOOKSTACK_DB_ROOT_PASSWORD}
|
|
primary:
|
|
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:
|
|
port:
|
|
port: 80
|
|
annotations:
|
|
prometheus.io/probe: "true"
|
|
prometheus.io/protocol: http
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
hosts:
|
|
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- "bookstack.${SECRET_CLUSTER_DOMAIN}"
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
existingClaim: bookstack-config
|