From 55cdd805cd465a1ab443dc3f589c9ab740d52b74 Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 22 Dec 2024 20:35:53 +0100 Subject: [PATCH] fix(homeassistant): postgres backup retention time --- projects/homeassistant/manifests/postgre.yaml | 1 + projects/homer/values/homer.yml | 2 +- projects/services/values/s3.yml | 12 +++++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/projects/homeassistant/manifests/postgre.yaml b/projects/homeassistant/manifests/postgre.yaml index 000a637a..fe4be0ea 100644 --- a/projects/homeassistant/manifests/postgre.yaml +++ b/projects/homeassistant/manifests/postgre.yaml @@ -12,6 +12,7 @@ spec: source: homeassistant backup: + retentionPolicy: "90d" barmanObjectStore: destinationPath: "s3://homeassistant-backup/" endpointURL: "http://s3-minio.s3.svc.cluster.local:9000" diff --git a/projects/homer/values/homer.yml b/projects/homer/values/homer.yml index 17c7e5b3..b850b3c7 100644 --- a/projects/homer/values/homer.yml +++ b/projects/homer/values/homer.yml @@ -140,7 +140,7 @@ configmap: target: "_blank" - logo: assets/png/minio.png name: MinIO - url: https://s3.dc + url: https://minio.dc target: "_blank" - logo: assets/png/google-mail.png name: Ntfy diff --git a/projects/services/values/s3.yml b/projects/services/values/s3.yml index 426cedf5..b3a0fd2f 100644 --- a/projects/services/values/s3.yml +++ b/projects/services/values/s3.yml @@ -1,13 +1,15 @@ image: repository: quay.io/minio/minio - pullPolicy: IfNotPresent + tag: latest + pullPolicy: Always ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio ## client used to create a default bucket). ## mcImage: repository: quay.io/minio/mc - pullPolicy: IfNotPresent + tag: latest + pullPolicy: Always ## minio mode, i.e. standalone or distributed mode: standalone ## other supported values are "standalone" @@ -77,11 +79,11 @@ consoleIngress: cert-manager.io/cluster-issuer: vault-issuer path: / hosts: - - minio-console.dc + - minio.dc tls: - secretName: minio-console-tls hosts: - - minio-console.dc + - minio.dc securityContext: enabled: true @@ -271,7 +273,7 @@ makeBucketJob: ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: - MINIO_BROWSER_REDIRECT_URL: "https://s3.dc" + MINIO_BROWSER_REDIRECT_URL: "https://minio.dc" ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io" ## MINIO_BROWSER: "off"