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

Question:how to change the default login account and password #297

Open
VINO42 opened this issue May 7, 2020 · 7 comments
Open

Question:how to change the default login account and password #297

VINO42 opened this issue May 7, 2020 · 7 comments

Comments

@VINO42
Copy link

VINO42 commented May 7, 2020

I‘m a newer of Pulsar,so as the pulsar-manger,
I deploy my pulsar server on the K8S,
But I don't want to use the default pulsar-manger login account:pulsar and the password pulsar,
I saw the doc like this:

https://github.com/apache/pulsar-manager/blob/master/src/main/resources/application.properties

So how could I change the default login password and account?

@VINO42
Copy link
Author

VINO42 commented May 7, 2020

sorry about my english

@tuteng
Copy link
Member

tuteng commented May 8, 2020

You can try this image https://hub.docker.com/layers/streamnative/pulsar-manager/0.3.0/images/sha256-56fd8cd6fb5fcc3db4e50c216216b1fbb50533339ea20db6d2048eae98b6ee69?context=explore and use this command to initialize the account and password after deployment.

curl 
    -H "Content-Type: application/json" \
    -X PUT http://backend-service:7750/pulsar-manager/users/superuser \
    -d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}'

Reference: https://github.com/apache/pulsar-manager#access-pusar-manager
@Andreby42

@VINO42
Copy link
Author

VINO42 commented May 8, 2020

thank u . I will try it

@lijialin-code
Copy link

This port is the port of that service

@VINO42
Copy link
Author

VINO42 commented May 9, 2020

This port is the port of that service

Do U mean which service does the port belongs to?

@mingfang
Copy link

we need a better way(besides running curl) to set default use and password.

@andik101
Copy link

For this issue you can deploy a pulsar-manager-batch-job.yaml file which will fix or change the login access in backend-service in this link

After this batch job, you can access your pulsar-manager via dashboard.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants