From df38f8acab35334458aefbca9af6ea17c4a36c28 Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 26 Mar 2024 11:23:34 +0100 Subject: [PATCH] change admin user job to be a post install helm hook --- charts/netmaker/templates/netmaker-admin-user-job.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/netmaker/templates/netmaker-admin-user-job.yaml b/charts/netmaker/templates/netmaker-admin-user-job.yaml index b9ad2f4..0f81310 100644 --- a/charts/netmaker/templates/netmaker-admin-user-job.yaml +++ b/charts/netmaker/templates/netmaker-admin-user-job.yaml @@ -4,6 +4,9 @@ apiVersion: batch/v1 kind: Job metadata: name: setup-initial-user-job + annotations: + "helm.sh/hook": post-install + "helm.sh/hook-delete-policy": hook-succeeded spec: template: metadata: