Force create super user even if the password does not meet requirements
@@ -26,7 +26,7 @@ spec:
- name: admin-user-job
image: "{{ .Values.hooks.image }}:{{ .Values.hooks.imageTag }}"
imagePullPolicy: {{ .Values.hooks.imagePullPolicy }}
- args: ["createuser", "--username={{ .Values.user.username }}", "--email={{ .Values.user.email }}", "--password=$(POLYAXON_ADMIN_PASSWORD)", "--superuser"]
+ args: ["createuser", "--username={{ .Values.user.username }}", "--email={{ .Values.user.email }}", "--password=$(POLYAXON_ADMIN_PASSWORD)", "--superuser", "--force"]
env:
{{ include "config.global" . | indent 8 }}
{{ include "config.versions" . | indent 8 }}
