mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
update hook weight order and give descriptive names to jobs
This commit is contained in:
parent
0aea4dc1f3
commit
5db0064ffe
|
@ -5,7 +5,7 @@
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ $.Release.Name }}"
|
name: "{{ $.Release.Name }}-bucket-hook"
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
|
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ $.Release.Name }}"
|
name: "{{ $.Release.Name }}-user-hook"
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
|
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": post-install
|
"helm.sh/hook": post-install
|
||||||
"helm.sh/hook-weight": "-5"
|
"helm.sh/hook-weight": "-4"
|
||||||
"helm.sh/hook-delete-policy": hook-succeeded
|
"helm.sh/hook-delete-policy": hook-succeeded
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue