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:
|
spec:
|
||||||
# renovate: registryUrl=https://nicholaswilde.github.io/helm-charts/
|
# renovate: registryUrl=https://nicholaswilde.github.io/helm-charts/
|
||||||
chart: bookstack
|
chart: bookstack
|
||||||
version: 0.1.16
|
version: 1.0.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: nicholaswilde-charts
|
name: k8s-at-home-charts
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
interval: 5m
|
interval: 5m
|
||||||
values:
|
values:
|
||||||
@@ -21,10 +21,20 @@ spec:
|
|||||||
repository: ghcr.io/linuxserver/bookstack
|
repository: ghcr.io/linuxserver/bookstack
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# 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:
|
env:
|
||||||
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
|
APP_URL: https://bookstack.${SECRET_CLUSTER_DOMAIN}/
|
||||||
DB_HOST: mariadb-kube.data.svc.cluster.local.
|
DB_HOST: bookstack-mariadb
|
||||||
DB_DATABASE: bookstack
|
DB_DATABASE: bookstack
|
||||||
DB_USERNAME: bookstack
|
DB_USERNAME: bookstack
|
||||||
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
DB_PASSWORD: ${SECRET_BOOKSTACK_DB_PASSWORD}
|
||||||
@@ -38,7 +48,6 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: "nginx"
|
kubernetes.io/ingress.class: "nginx"
|
||||||
nginx.ingress.kubernetes.io/whitelist-source-range: 0.0.0.0/0
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
|
- host: bookstack.${SECRET_CLUSTER_DOMAIN}
|
||||||
paths:
|
paths:
|
||||||
@@ -51,4 +60,4 @@ spec:
|
|||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
existingClaim: bookstack-config
|
existingClaim: bookstack-config
|
@@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- helm-release.yaml
|
- helm-release.yaml
|
||||||
- volume.yaml
|
- volumes.yaml
|
||||||
|
@@ -12,4 +12,4 @@ spec:
|
|||||||
storageClassName: rook-ceph-block
|
storageClassName: rook-ceph-block
|
||||||
resources:
|
resources:
|
||||||
requests:
|
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
|
- kasten-charts.yaml
|
||||||
- kubernetes-dashboard-charts.yaml
|
- kubernetes-dashboard-charts.yaml
|
||||||
- kubernetes-sigs-descheduler-charts.yaml
|
- kubernetes-sigs-descheduler-charts.yaml
|
||||||
- nicholaswilde.yaml
|
|
||||||
- node-feature-discovery.yaml
|
- node-feature-discovery.yaml
|
||||||
- prometheus-community-charts.yaml
|
- prometheus-community-charts.yaml
|
||||||
- rook-ceph-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