diff --git a/apps/immich/values.yaml b/apps/immich/values.yaml index 53739f5..2e3bf43 100644 --- a/apps/immich/values.yaml +++ b/apps/immich/values.yaml @@ -113,25 +113,3 @@ machine-learning: type: emptyDir accessMode: ReadWriteMany # storageClass: your-class - -# web: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-web -# pullPolicy: IfNotPresent -# persistence: -# library: -# enabled: false - -# proxy: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-proxy -# pullPolicy: IfNotPresent - -# persistence: -# library: -# enabled: false - - - diff --git a/infrastructure/backup/base/cronjob.yaml b/infrastructure/backup/base/cronjob.yaml index 9a6cadb..c1d85d8 100644 --- a/infrastructure/backup/base/cronjob.yaml +++ b/infrastructure/backup/base/cronjob.yaml @@ -20,11 +20,10 @@ spec: image: curlimages/curl command: ["curl"] args: - - "-H" - - "Title: ${OPERATION}" - - "-d" - - "Finished successfully" - - "https://ntfy.kluster.moll.re/backup" + - >- + -H "Title: ${OPERATION}" + -d "Finished successfully" + https://ntfy.kluster.moll.re/backup env: - name: OPERATION value: "PLACEHOLDER" diff --git a/infrastructure/backup/postgres/cronjob.yaml b/infrastructure/backup/postgres/cronjob.yaml index 9a9530b..0a0b462 100644 --- a/infrastructure/backup/postgres/cronjob.yaml +++ b/infrastructure/backup/postgres/cronjob.yaml @@ -14,15 +14,10 @@ spec: image: postgres:15 command: ["/bin/sh"] args: - - "-c" - - >- - echo "$postgress_password" > /root/.pgpass - && - chmod 600 /root/.pgpass - && - pg_dumpall -U postgres -h postgres-postgresql.postgres > /backup/backup-$(date +"%m-%d-%Y-%H-%M").sql + - '-c' + - 'pg_dumpall -U postgres -h postgres-postgresql.postgres > /backup/backup-$(date +"%m-%d-%Y-%H-%M").sql' env: - - name: postgress_password + - name: PGPASSWORD valueFrom: secretKeyRef: name: postgres-password