mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
60 lines
1.4 KiB
YAML
60 lines
1.4 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: 4.2.2
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home-charts
|
|
namespace: flux-system
|
|
interval: 5m
|
|
values:
|
|
image:
|
|
repository: ghcr.io/linuxserver/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: "version-v22.06.2"
|
|
|
|
env:
|
|
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
|
|
DB_HOST: mariadb.data.svc.cluster.local.
|
|
DB_DATABASE: bookstack
|
|
DB_USERNAME: bookstack
|
|
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
existingClaim: bookstack-config
|
|
|
|
mariadb:
|
|
enabled: false
|
|
|
|
service:
|
|
main:
|
|
annotations:
|
|
prometheus.io/probe: "true"
|
|
prometheus.io/protocol: http
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
hosts:
|
|
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- "bookstack.${SECRET_CLUSTER_DOMAIN}"
|
|
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"
|