From 8d8f8db714eef093cc4b527d19bb2a5b8ccce097 Mon Sep 17 00:00:00 2001 From: Shahar Glazner Date: Thu, 28 Nov 2024 20:48:44 +0100 Subject: [PATCH 1/4] feat: wip (#82) --- charts/keep/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index 6ab97ae..e96e13a 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,10 +1,10 @@ apiVersion: v2 name: keep -version: 0.1.42 +version: 0.1.43 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 -appVersion: 0.29.3 +appVersion: 0.30.6 deprecated: false annotations: app: keep From b2b7c57842d38966ef8b4dbbe04823c078343e5a Mon Sep 17 00:00:00 2001 From: Shahar Glazner Date: Fri, 29 Nov 2024 13:13:00 +0100 Subject: [PATCH 2/4] feat: retain (#84) --- charts/keep/Chart.yaml | 2 +- charts/keep/templates/db-pvc.yaml | 8 ++++++-- charts/keep/values.yaml | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index e96e13a..deef42d 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: keep -version: 0.1.43 +version: 0.1.44 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 diff --git a/charts/keep/templates/db-pvc.yaml b/charts/keep/templates/db-pvc.yaml index 0c5b2dd..dc567ca 100644 --- a/charts/keep/templates/db-pvc.yaml +++ b/charts/keep/templates/db-pvc.yaml @@ -6,14 +6,18 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ $pvcName }} + annotations: + {{- if .Values.database.pvc.retain }} + helm.sh/resource-policy: keep + {{- end }} spec: - accessModes: - - ReadWriteOnce {{- if $existingPvc }} # Use existing PVC spec {{- toYaml $existingPvc.spec | nindent 2 }} {{- else }} # Define new PVC spec + accessModes: + - ReadWriteOnce {{- if .Values.database.pvc.storageClass }} storageClassName: {{ .Values.database.pvc.storageClass }} {{- end }} diff --git a/charts/keep/values.yaml b/charts/keep/values.yaml index ad70f0c..60a01a6 100644 --- a/charts/keep/values.yaml +++ b/charts/keep/values.yaml @@ -265,6 +265,7 @@ database: enabled: true size: 5Gi storageClass: "" + retain: false image: repository: mysql pullPolicy: IfNotPresent From 22b6f30aee9df32613539196f23367d40e302355 Mon Sep 17 00:00:00 2001 From: Tal Date: Sun, 1 Dec 2024 11:37:03 +0200 Subject: [PATCH 3/4] chore: bump version to 0.30.7 (#85) Signed-off-by: Tal --- charts/keep/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index deef42d..0d3ee32 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -4,7 +4,7 @@ version: 0.1.44 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 -appVersion: 0.30.6 +appVersion: 0.30.7 deprecated: false annotations: app: keep From 3c13af97f94bc886ed95343d0907f5bb3b6aebfa Mon Sep 17 00:00:00 2001 From: Tal Date: Sun, 1 Dec 2024 15:37:18 +0200 Subject: [PATCH 4/4] chore: bump helm version (#86) Signed-off-by: Tal --- charts/keep/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index 0d3ee32..58c4986 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: keep -version: 0.1.44 +version: 0.1.45 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75