Merge ~wck0/landscape-charm:set-secret-token into landscape-charm:main
Proposed by
Bill Kronholm
Status: | Merged |
---|---|
Merged at revision: | e2d697561b2e653aa904c6c55dcc06bd9bda6621 |
Proposed branch: | ~wck0/landscape-charm:set-secret-token |
Merge into: | landscape-charm:main |
Diff against target: |
132 lines (+52/-1) 3 files modified
config.yaml (+6/-0) src/charm.py (+35/-1) src/settings_files.py (+11/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin Nasto | Approve | ||
Review via email:
|
Commit message
Add secret_token to the config.
To post a comment you must log in.
Manual Testing Instructions
1. make build
2. Wait for the charm to settle and check the secret token is set. service. conf
juju ssh landscape-server/0
sudo less /etc/landscape/
3. Log in to the UI, click around, and check you can access the Organization page and the new beta UI.
4. Change the secret token: token=" itsasecrettoeve rybody"
juju config landscape-server secret_
5. Wait for the charm to settle and check the value was changed in service.conf.
6. Click around the UI and see that you are logged out of the old and new UIs.
7. Log back in and check things still work.
8. Change the secret token again:
juju config landscape-server secret_token=""
9. Wait for the charm to settle and check the value was changed in service.conf to something random.
10. Try to break something.