aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Roby <max@lil-mac.lan>2023-11-23 11:35:17 +0100
committerChris Lu <chrislusf@users.noreply.github.com>2023-11-24 06:40:19 -0800
commit5db0064ffe209703c5889d15d8a5fd51b83da1d9 (patch)
treec4b00b35cf7259018a1c98a6fca73c53dc3fa011
parent0aea4dc1f31273ced91aaf9ec5ddd8ff6653844b (diff)
downloadseaweedfs-5db0064ffe209703c5889d15d8a5fd51b83da1d9.tar.xz
seaweedfs-5db0064ffe209703c5889d15d8a5fd51b83da1d9.zip
update hook weight order and give descriptive names to jobs
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml2
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-user-hook.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
index 38f198c62..6b0ce5f80 100644
--- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
@@ -5,7 +5,7 @@
apiVersion: batch/v1
kind: Job
metadata:
- name: "{{ $.Release.Name }}"
+ name: "{{ $.Release.Name }}-bucket-hook"
labels:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
diff --git a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml
index 767369604..32439bca2 100644
--- a/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-user-hook.yaml
@@ -5,13 +5,13 @@
apiVersion: batch/v1
kind: Job
metadata:
- name: "{{ $.Release.Name }}"
+ name: "{{ $.Release.Name }}-user-hook"
labels:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
annotations:
"helm.sh/hook": post-install
- "helm.sh/hook-weight": "-5"
+ "helm.sh/hook-weight": "-4"
"helm.sh/hook-delete-policy": hook-succeeded
spec:
template: