Files
auricom-home-cluster/cluster/apps/data/bookstack/helm-release.yaml
2022-07-04 22:41:47 +02:00

71 lines
1.4 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app bookstack
namespace: data
spec:
interval: 15m
chart:
spec:
chart: kah-common-chart
version: 1.1.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 15m
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values:
global:
nameOverride: *app
image:
repository: ghcr.io/linuxserver/bookstack
tag: version-v22.06.2
service:
main:
ports:
http:
port: 80
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
existingClaim: bookstack-config
mountPath: /config
ingress:
main:
enabled: true
ingressClassName: "nginx"
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi