Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add user config #130

Merged
merged 1 commit into from
Jul 15, 2024
Merged

add user config #130

merged 1 commit into from
Jul 15, 2024

Conversation

zhangtong007
Copy link
Contributor

Add default configuration to set the default management user and password, as well as the default anonymous user and password

http://{{ .Values.adminUser }}:{{ .Values.adminPass }}@localhost:3000/api/admin/users`
if [ -n "${status}" ] && [ "${status}X" == "200X" ];
then
echo "user lunettes has created"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meybe echo "user {{ .Values.anonymousUser }} has created"

echo "user lunettes has created"
break
else
echo "user {{ .Values.adminUser }} created failed, status is ${status} retrying after ${wait_time}s..."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise, there is user {{ .Values.anonymousUser }}

Copy link
Collaborator

@linuzb linuzb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@linuzb linuzb merged commit 4fb540a into alipay:main Jul 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants