mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: migrate bookstack helm chart to k8s-at-home
This commit is contained in:
@@ -10,10 +10,10 @@ spec:
|
||||
spec:
|
||||
# renovate: registryUrl=https://nicholaswilde.github.io/helm-charts/
|
||||
chart: bookstack
|
||||
version: 0.1.16
|
||||
version: 1.0.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: nicholaswilde-charts
|
||||
name: k8s-at-home-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
@@ -21,10 +21,20 @@ spec:
|
||||
repository: ghcr.io/linuxserver/bookstack
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "version-v21.04"
|
||||
tag: "version-v21.04.2"
|
||||
mariadb:
|
||||
enabled: true
|
||||
auth:
|
||||
database: bookstack
|
||||
username: bookstack
|
||||
password: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
existingClaim: bookstack-db
|
||||
env:
|
||||
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
|
||||
DB_HOST: mariadb-kube.data.svc.cluster.local.
|
||||
DB_HOST: bookstack-mariadb
|
||||
DB_DATABASE: bookstack
|
||||
DB_USERNAME: bookstack
|
||||
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
||||
@@ -38,7 +48,6 @@ spec:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/whitelist-source-range: 0.0.0.0/0
|
||||
hosts:
|
||||
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
|
||||
paths:
|
||||
|
@@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- volume.yaml
|
||||
- volumes.yaml
|
||||
|
@@ -12,4 +12,4 @@ spec:
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storage: 5Gi
|
||||
|
30
cluster/apps/data/bookstack/volumes.yaml
Normal file
30
cluster/apps/data/bookstack/volumes.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: bookstack-config
|
||||
namespace: data
|
||||
labels:
|
||||
kasten-io-snapshots: "enable"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: bookstack-db
|
||||
namespace: data
|
||||
labels:
|
||||
kasten-io-snapshots: "enable"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
@@ -19,7 +19,6 @@ resources:
|
||||
- kasten-charts.yaml
|
||||
- kubernetes-dashboard-charts.yaml
|
||||
- kubernetes-sigs-descheduler-charts.yaml
|
||||
- nicholaswilde.yaml
|
||||
- node-feature-discovery.yaml
|
||||
- prometheus-community-charts.yaml
|
||||
- rook-ceph-charts.yaml
|
||||
|
@@ -1,10 +0,0 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: nicholaswilde-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
url: https://nicholaswilde.github.io/helm-charts
|
||||
timeout: 3m
|
Reference in New Issue
Block a user