chore: move piwigo to volsync PVCs
This commit is contained in:
parent
13e687361e
commit
0e8cde4438
|
@ -10,4 +10,4 @@ resources:
|
||||||
- ./well-known-site
|
- ./well-known-site
|
||||||
- ./dendrite/ks.yaml
|
- ./dendrite/ks.yaml
|
||||||
- ./ganymede
|
- ./ganymede
|
||||||
- ./piwigo
|
- ./piwigo/ks.yaml
|
|
@ -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
|
Loading…
Reference in New Issue