From 7331a3fb5fbb927537030467e464f3554871cc5e Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Tue, 26 Mar 2024 13:52:23 +0000 Subject: [PATCH] PLAT-410 - updated the chart to use the new contaniner, added env var and bumped chart ver --- charts/cloudnative-pg/Chart.yaml | 2 +- .../templates/stegosweep/lifecycle-mgmt.yaml | 6 ++++-- charts/cloudnative-pg/values.yaml | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/cloudnative-pg/Chart.yaml b/charts/cloudnative-pg/Chart.yaml index 9934cac..1f68d14 100644 --- a/charts/cloudnative-pg/Chart.yaml +++ b/charts/cloudnative-pg/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cloudnative-pg description: Create a Postgresql database cluster on AWS EKS using cloudnative-pg.io and any required AWS resources via crossplane.io. type: application -version: 0.0.4 +version: 0.0.5 kubeVersion: ">=1.24.0-0" keywords: - postgresql diff --git a/charts/cloudnative-pg/templates/stegosweep/lifecycle-mgmt.yaml b/charts/cloudnative-pg/templates/stegosweep/lifecycle-mgmt.yaml index 76896c3..ce04b5a 100644 --- a/charts/cloudnative-pg/templates/stegosweep/lifecycle-mgmt.yaml +++ b/charts/cloudnative-pg/templates/stegosweep/lifecycle-mgmt.yaml @@ -37,8 +37,10 @@ spec: value: "{{ .Values.aws.resourcePrefix }}{{ .Values.stackId }}" - name: S3_PREFIX value: "stegostore" - - name: DAYS_RETENTION - value: {{ .Values.stegosweep.daysRetention | quote }} + - name: DAYS_RETENTION_DAILY + value: {{ .Values.stegosweep.daysRetentionDaily | quote }} + - name: DAYS_RETENTION_HOURLY + value: {{ .Values.stegosweep.daysRetentionHourly | quote }} - name: DRY_RUN value: {{ .Values.stegosweep.dryRun | quote }} restartPolicy: Never diff --git a/charts/cloudnative-pg/values.yaml b/charts/cloudnative-pg/values.yaml index b7bae67..bc7ea3b 100644 --- a/charts/cloudnative-pg/values.yaml +++ b/charts/cloudnative-pg/values.yaml @@ -45,10 +45,11 @@ stegostore: schedule: "0 * * * *" concurrencyPolicy: Forbid imageName: portswigger-cloud/stegostore - imageDigest: sha256:2d215660807510c9d359cd7734186a99af3b7038a6f61ae49818b73f295d0ddd + imageDigest: sha256:464c054776960226d6b5f8935c90528ab48c0e1dad43389b604f7a527d5ae512 stegosweep: enabled: true schedule: "30 1 * * *" concurrencyPolicy: Forbid - daysRetention: 30 - dryRun: false + daysRetentionDaily: 30 + daysRetentionHourly: 7 + dryRun: true