feat: change bookstack chart to kah-common

This commit is contained in:
auricom
2022-07-04 22:21:54 +02:00
parent e43c08957a
commit 8cbd310c9e

View File

@@ -2,25 +2,39 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: bookstack name: &app bookstack
namespace: data namespace: data
spec: spec:
interval: 5m interval: 15m
chart: chart:
spec: spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/ chart: kah-common-chart
chart: bookstack version: 1.1.2
version: 5.0.0
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: k8s-at-home-charts name: k8s-at-home-charts
namespace: flux-system namespace: flux-system
interval: 5m interval: 15m
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values: values:
global:
nameOverride: *app
image: image:
repository: ghcr.io/linuxserver/bookstack repository: ghcr.io/linuxserver/bookstack
pullPolicy: IfNotPresent tag: version-v22.06.2
tag: "version-v22.06.2"
service:
main:
ports:
http:
port: 80
env: env:
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/ APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
@@ -32,27 +46,25 @@ spec:
persistence: persistence:
config: config:
enabled: true enabled: true
mountPath: /config
existingClaim: bookstack-config existingClaim: bookstack-config
mountPath: /config
mariadb:
enabled: false
service:
main:
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: "nginx" ingressClassName: "nginx"
hosts: hosts:
- host: bookstack.${SECRET_CLUSTER_DOMAIN} - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- "bookstack.${SECRET_CLUSTER_DOMAIN}" - *host
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi