chore: move piwigo to volsync PVCs
This commit is contained in:
parent
13e687361e
commit
601675952f
|
@ -10,4 +10,4 @@ resources:
|
|||
- ./well-known-site
|
||||
- ./dendrite/ks.yaml
|
||||
- ./ganymede
|
||||
- ./piwigo
|
||||
- ./piwigo/ks.yaml
|
|
@ -61,14 +61,10 @@ spec:
|
|||
port: http
|
||||
|
||||
persistence:
|
||||
config:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Kubernetes/piwigo/config
|
||||
data:
|
||||
existingClaim: piwigo
|
||||
globalMounts:
|
||||
- path: /config
|
||||
|
||||
gallery:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Kubernetes/piwigo/gallery
|
||||
globalMounts:
|
||||
subPath: config
|
||||
- path: /gallery
|
||||
subPath: gallery
|
|
@ -1,4 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../../../common/templates/volsync
|
||||
- ./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