Skip to content
Snippets Groups Projects
Commit 10c0d7a4 authored by Mart van Santen's avatar Mart van Santen
Browse files

Set default password during creation

parent 3d5daff7
No related branches found
No related tags found
2 merge requests!68Merge loginpanel into main and release 0.5.0,!62Resolve "Embed login panel in helmchart"
Pipeline #10223 failed with stages
in 1 minute and 13 seconds
......@@ -36,8 +36,12 @@ spec:
value: postgresql://stackspin:stackspin@{{ .Release.Name }}-postgresql/stackspin
- name: APP_SETTINGS
value: config.DevelopmentConfig
- name: SETUP_USER
value: {{ .Values.login.login }}
- name: SETUP_PASSWORD
value: {{ .Values.login.password }}
command: ["/bin/bash", "-c"]
args:
- flask user create mart@greenhost.nl;
flask user setpassword mart@greenhost.nl aaaaaaaaaaaaaaap ;
- flask user create $SETUP_USER;
flask user setpassword $SETUP_USER $SETUP_PASSWORD ;
......@@ -201,9 +201,10 @@ hydra:
login:
image:
<< : &IMAGE_DEFAULTS_SSO { tag: "108-embed-login-panel-in-helmchart", pullPolicy: "Always" }
# << : &IMAGE_DEFAULTS_SSO { tag: "master", pullPolicy: "Always" }
repository: "open.greenhost.net:4567/stackspin/single-sign-on/login"
podAnnotations: {}
login: admin@example.com
password: ThisIsNotASecurePassword
# oAuthClients is a list of clients that are created during the installation process
# for a detailed list of the options available here, refer to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment