Compare commits

..

1 Commits

Author SHA1 Message Date
Renovate Bot 499e244b3d feat(helm): update chart app-template to 3.5.1 2024-10-17 04:10:43 +00:00
21 changed files with 88 additions and 209 deletions

View File

@ -2,7 +2,7 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: snapshot-controller name: volsync
namespace: flux-system namespace: flux-system
spec: spec:
timeout: 5m timeout: 5m

View File

@ -13,8 +13,6 @@ 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:

View File

@ -72,4 +72,22 @@ spec:
data: data:
existingClaim: dendrite existingClaim: dendrite
globalMounts: globalMounts:
- path: /var/dendrite - /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

View File

@ -29,4 +29,4 @@ spec:
name: cluster-secrets name: cluster-secrets
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 10Gi VOLSYNC_CAPACITY: 20Gi

View File

@ -60,7 +60,8 @@ spec:
port: http port: http
persistence: persistence:
uploads: firefly-uploads:
existingClaim: fireflyiii type: hostPath
hostPath: /mnt/MainPool/Kubernetes/fireflyiii-uploads
globalMounts: globalMounts:
- path: /var/www/html/storage/upload - path: /var/www/html/storage/upload

View File

@ -1,32 +0,0 @@
# 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

View File

@ -1,7 +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
- ./daily-cronjob.yaml - ./daily-cronjob.yaml

View File

@ -1,13 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./fireflyiii/ks.yaml - ./fireflyiii
- ./cdn - ./cdn
- ./trilium/ks.yaml - ./trilium
- ./mealie/ks.yaml - ./mealie
- ./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/ks.yaml - ./piwigo

View File

@ -92,6 +92,7 @@ spec:
persistence: persistence:
data: data:
existingClaim: mealie type: hostPath
hostPath: /mnt/MainPool/Kubernetes/Mealie
globalMounts: globalMounts:
- path: /app/data - path: /app/data

View File

@ -1,32 +0,0 @@
# 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

View File

@ -1,6 +1,5 @@
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

View File

@ -61,10 +61,14 @@ spec:
port: http port: http
persistence: persistence:
data: config:
existingClaim: piwigo type: hostPath
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

View File

@ -1,32 +0,0 @@
# 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

View File

@ -1,5 +1,4 @@
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

View File

@ -1,61 +0,0 @@
# 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

View File

@ -0,0 +1,50 @@
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

View File

@ -1,32 +0,0 @@
# 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

View File

@ -1,5 +1,4 @@
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