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