Compare commits
8 Commits
499e244b3d
...
b38cc7879a
Author | SHA1 | Date |
---|---|---|
Renovate Bot | b38cc7879a | |
SeanOMik | 360c812371 | |
SeanOMik | 601675952f | |
SeanOMik | 13e687361e | |
SeanOMik | a8392da2a2 | |
SeanOMik | a72cb94dd6 | |
SeanOMik | 78fde5a9bb | |
SeanOMik | 2cff2dba23 |
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: volsync
|
name: snapshot-controller
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|
|
@ -13,6 +13,8 @@ spec:
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: home-cluster
|
name: home-cluster
|
||||||
|
dependsOn:
|
||||||
|
- name: snapshot-controller
|
||||||
decryption:
|
decryption:
|
||||||
provider: sops
|
provider: sops
|
||||||
secretRef:
|
secretRef:
|
||||||
|
|
|
@ -72,22 +72,4 @@ spec:
|
||||||
data:
|
data:
|
||||||
existingClaim: dendrite
|
existingClaim: dendrite
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- /var/dendrite
|
- path: /var/dendrite
|
||||||
|
|
||||||
# searchindex:
|
|
||||||
# type: hostPath
|
|
||||||
# hostPath: /mnt/MainPool/Kubernetes/matrix/searchindex
|
|
||||||
# globalMounts:
|
|
||||||
# - path: /var/dendrite/searchindex
|
|
||||||
#
|
|
||||||
# media-store:
|
|
||||||
# type: hostPath
|
|
||||||
# hostPath: /mnt/MainPool/Kubernetes/matrix/media
|
|
||||||
# globalMounts:
|
|
||||||
# - path: /var/dendrite/media_store
|
|
||||||
#
|
|
||||||
# jetstream:
|
|
||||||
# type: hostPath
|
|
||||||
# hostPath: /mnt/MainPool/Kubernetes/matrix/jetstream
|
|
||||||
# globalMounts:
|
|
||||||
# - path: /var/dendrite/jetstream
|
|
||||||
|
|
|
@ -29,4 +29,4 @@ spec:
|
||||||
name: cluster-secrets
|
name: cluster-secrets
|
||||||
substitute:
|
substitute:
|
||||||
APP: *app
|
APP: *app
|
||||||
VOLSYNC_CAPACITY: 20Gi
|
VOLSYNC_CAPACITY: 10Gi
|
|
@ -60,8 +60,7 @@ spec:
|
||||||
port: http
|
port: http
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
firefly-uploads:
|
uploads:
|
||||||
type: hostPath
|
existingClaim: fireflyiii
|
||||||
hostPath: /mnt/MainPool/Kubernetes/fireflyiii-uploads
|
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /var/www/html/storage/upload
|
- path: /var/www/html/storage/upload
|
|
@ -1,6 +1,7 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ../../../../../common/templates/volsync
|
||||||
- ./env-secret.sops.yaml
|
- ./env-secret.sops.yaml
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
||||||
- ./daily-cronjob.yaml
|
- ./daily-cronjob.yaml
|
|
@ -0,0 +1,32 @@
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app fireflyiii
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
timeout: 5m
|
||||||
|
interval: 10m
|
||||||
|
targetNamespace: default
|
||||||
|
path: ./kubernetes/main/apps/default/fireflyiii/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: home-cluster
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-gpg
|
||||||
|
dependsOn:
|
||||||
|
- name: openebs
|
||||||
|
- name: openebs-sc
|
||||||
|
- name: volsync
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: cluster-settings
|
||||||
|
- kind: Secret
|
||||||
|
name: cluster-secrets
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 5Gi
|
|
@ -1,13 +1,13 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./fireflyiii
|
- ./fireflyiii/ks.yaml
|
||||||
- ./cdn
|
- ./cdn
|
||||||
- ./trilium
|
- ./trilium/ks.yaml
|
||||||
- ./mealie
|
- ./mealie/ks.yaml
|
||||||
- ./huginn
|
- ./huginn
|
||||||
- ../../../common/apps/exim/ks.yaml
|
- ../../../common/apps/exim/ks.yaml
|
||||||
- ./well-known-site
|
- ./well-known-site
|
||||||
- ./dendrite/ks.yaml
|
- ./dendrite/ks.yaml
|
||||||
- ./ganymede
|
- ./ganymede
|
||||||
- ./piwigo
|
- ./piwigo/ks.yaml
|
|
@ -92,7 +92,6 @@ spec:
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
data:
|
data:
|
||||||
type: hostPath
|
existingClaim: mealie
|
||||||
hostPath: /mnt/MainPool/Kubernetes/Mealie
|
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /app/data
|
- path: /app/data
|
|
@ -1,5 +1,6 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ../../../../../common/templates/volsync
|
||||||
- ./env-secret.sops.yaml
|
- ./env-secret.sops.yaml
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
|
@ -0,0 +1,32 @@
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app mealie
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
timeout: 5m
|
||||||
|
interval: 10m
|
||||||
|
targetNamespace: default
|
||||||
|
path: ./kubernetes/main/apps/default/mealie/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: home-cluster
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-gpg
|
||||||
|
dependsOn:
|
||||||
|
- name: openebs
|
||||||
|
- name: openebs-sc
|
||||||
|
- name: volsync
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: cluster-settings
|
||||||
|
- kind: Secret
|
||||||
|
name: cluster-secrets
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 5Gi
|
|
@ -61,14 +61,10 @@ spec:
|
||||||
port: http
|
port: http
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
data:
|
||||||
type: hostPath
|
existingClaim: piwigo
|
||||||
hostPath: /mnt/MainPool/Kubernetes/piwigo/config
|
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /config
|
- path: /config
|
||||||
|
subPath: config
|
||||||
gallery:
|
|
||||||
type: hostPath
|
|
||||||
hostPath: /mnt/MainPool/Kubernetes/piwigo/gallery
|
|
||||||
globalMounts:
|
|
||||||
- path: /gallery
|
- path: /gallery
|
||||||
|
subPath: gallery
|
|
@ -1,4 +1,5 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ../../../../../common/templates/volsync
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
|
@ -0,0 +1,32 @@
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app piwigo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
timeout: 5m
|
||||||
|
interval: 10m
|
||||||
|
targetNamespace: default
|
||||||
|
path: ./kubernetes/main/apps/default/piwigo/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: home-cluster
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-gpg
|
||||||
|
dependsOn:
|
||||||
|
- name: openebs
|
||||||
|
- name: openebs-sc
|
||||||
|
- name: volsync
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: cluster-settings
|
||||||
|
- kind: Secret
|
||||||
|
name: cluster-secrets
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 10Gi
|
|
@ -0,0 +1,61 @@
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: trilium
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: app-template
|
||||||
|
version: 3.5.1
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: bjws-charts
|
||||||
|
namespace: flux-system
|
||||||
|
|
||||||
|
values:
|
||||||
|
controllers:
|
||||||
|
main:
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/zadam/trilium
|
||||||
|
tag: 0.63.7
|
||||||
|
env:
|
||||||
|
TRILIUM_PORT: &port 8080
|
||||||
|
service:
|
||||||
|
app:
|
||||||
|
controller: main
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: *port
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
hosts:
|
||||||
|
- host: "notes.${SECRET_NEW_DOMAIN}"
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
service:
|
||||||
|
identifier: app
|
||||||
|
port: http
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
existingClaim: trilium
|
||||||
|
globalMounts:
|
||||||
|
- path: /home/node/trilium-data
|
||||||
|
temp:
|
||||||
|
type: persistentVolumeClaim
|
||||||
|
storageClass: openebs-zfs-mainpool
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 2G
|
||||||
|
globalMounts:
|
||||||
|
- path: /home/node/trilium-data/log
|
||||||
|
subPath: log
|
||||||
|
- path: /home/node/trilium-data/sessions
|
||||||
|
subPath: sessions
|
||||||
|
- path: /home/node/trilium-data/backup
|
||||||
|
subPath: backup
|
|
@ -1,4 +1,5 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ../../../../../common/templates/volsync
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
|
@ -1,50 +0,0 @@
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: trilium
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
interval: 5m
|
|
||||||
chart:
|
|
||||||
spec:
|
|
||||||
chart: app-template
|
|
||||||
version: 3.5.x
|
|
||||||
sourceRef:
|
|
||||||
kind: HelmRepository
|
|
||||||
name: bjws-charts
|
|
||||||
namespace: flux-system
|
|
||||||
|
|
||||||
values:
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/zadam/trilium
|
|
||||||
tag: 0.63.7
|
|
||||||
|
|
||||||
env:
|
|
||||||
TRILIUM_PORT: &port 8080
|
|
||||||
|
|
||||||
service:
|
|
||||||
main:
|
|
||||||
ports:
|
|
||||||
http:
|
|
||||||
port: *port
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
annotations:
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
||||||
hosts:
|
|
||||||
- host: &host "notes.${SECRET_NEW_DOMAIN}"
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- *host
|
|
||||||
|
|
||||||
persistence:
|
|
||||||
storage:
|
|
||||||
enabled: true
|
|
||||||
type: hostPath
|
|
||||||
hostPath: /mnt/MainPool/Kubernetes/trilium
|
|
||||||
mountPath: /home/node/trilium-data
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app trilium
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
timeout: 5m
|
||||||
|
interval: 10m
|
||||||
|
targetNamespace: default
|
||||||
|
path: ./kubernetes/main/apps/default/trilium/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: home-cluster
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-gpg
|
||||||
|
dependsOn:
|
||||||
|
- name: openebs
|
||||||
|
- name: openebs-sc
|
||||||
|
- name: volsync
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: cluster-settings
|
||||||
|
- kind: Secret
|
||||||
|
name: cluster-secrets
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
VOLSYNC_CAPACITY: 5Gi
|
Loading…
Reference in New Issue