Skip to content

Commit d2d52c7

Browse files
Frederic SpiersixxeL2097
authored andcommitted
fix(minio): hook deletion on job
1 parent 70d322a commit d2d52c7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

charts/minio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: minio
33
description: High Performance Object Storage compatible with Amazon S3 APIs
44
type: application
5-
version: 0.5.0
5+
version: 0.5.1
66
appVersion: "2025.09.07"
77
keywords:
88
- minio

charts/minio/templates/post-job.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
labels:
88
{{- include "minio.labels" . | nindent 4 }}
9-
{{- if .Values.commonAnnotations }}
109
annotations:
10+
"helm.sh/hook": post-install,post-upgrade
11+
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
12+
"helm.sh/hook-weight": "0"
13+
{{- if .Values.commonAnnotations }}
1114
{{- include "minio.annotations" . | nindent 4 }}
1215
{{- end }}
1316
spec:

0 commit comments

Comments
 (0)