Skip to content

Commit

Permalink
Replace ADMIN_USERNAME with ADMIN_USER in systemd and containerized i… (
Browse files Browse the repository at this point in the history
#183)

Replace ADMIN_USERNAME with ADMIN_USER in systemd and containerized installation processes
---------

Co-authored-by: Dmitri Popov <[email protected]>
  • Loading branch information
abravosuse and dmpop authored Oct 31, 2024
1 parent b8cd52e commit 374a934
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions trento/migration/container-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Follow the steps in [4.2 systemd deployment](https://documentation.suse.com/sles

1. Install trento-web on Docker

Be sure to change the `ADMIN_USERNAME` and `ADMIN_PASSWORD`, these are the credentials that will be required to login to the trento-web UI.
Make sure to change the `ADMIN_USER` and `ADMIN_PASSWORD`. These credentials are required to login to the trento-web UI.
Depending on how you intend to connect to the console, a working hostname, FQDN, or an IP is required in `TRENTO_WEB_ORIGIN` for HTTPS otherwise, websockets will fail to connect, causing no real-time updates on the UI.

> **Note:** Add `CHARTS_ENABLED=false` if Prometheus is not installed or you don't want to use the charts feature of Trento.
Expand All @@ -102,7 +102,7 @@ Follow the steps in [4.2 systemd deployment](https://documentation.suse.com/sles
-e SECRET_KEY_BASE=$TRENTO_SECRET_KEY_BASE \
-e ACCESS_TOKEN_ENC_SECRET=$ACCESS_TOKEN_ENC_SECRET \
-e REFRESH_TOKEN_ENC_SECRET=$REFRESH_TOKEN_ENC_SECRET \
-e ADMIN_USERNAME='admin' \
-e ADMIN_USER='admin' \
-e ADMIN_PASSWORD='test1234' \
-e ENABLE_API_KEY='true' \
-e TRENTO_WEB_ORIGIN='trento.example.com' \
Expand Down
2 changes: 1 addition & 1 deletion trento/migration/systemd-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,4 +495,4 @@ This is a basic guide for creating a self-signed certificate for use with Trento

## Accessing the trento-web UI

Open a browser and navigate to `https://trento.example.com`. You should be able to login using the credentials you provided in the `ADMIN_USERNAME` and `ADMIN_PASSWORD` environment variables.
Use a browser to navigate to `https://trento.example.com`, and log in using the credentials you specified in the `ADMIN_USER` and `ADMIN_PASSWORD` environment variables.
4 changes: 2 additions & 2 deletions trento/xml/container-install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ docker run -d --name wanda \
Deploy trento-web.
</para>
<para>
Make sure to change the <literal>ADMIN_USERNAME</literal> and
Make sure to change the <literal>ADMIN_USER</literal> and
<literal>ADMIN_PASSWORD</literal>, these are the credentials that are required to login
to the trento-web UI. Depending on how you intend to connect to the console, a working
hostname, FQDN, or an IP is required in <literal>TRENTO_WEB_ORIGIN</literal> for HTTPS.
Expand All @@ -157,7 +157,7 @@ docker run -d \
-e SECRET_KEY_BASE=$TRENTO_SECRET_KEY_BASE \
-e ACCESS_TOKEN_ENC_SECRET=$ACCESS_TOKEN_ENC_SECRET \
-e REFRESH_TOKEN_ENC_SECRET=$REFRESH_TOKEN_ENC_SECRET \
-e ADMIN_USERNAME='admin' \
-e ADMIN_USER='admin' \
-e ADMIN_PASSWORD='test1234' \
-e ENABLE_API_KEY='true' \
-e TRENTO_WEB_ORIGIN='trento.example.com' \
Expand Down
2 changes: 1 addition & 1 deletion trento/xml/systemd-install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ systemctl reload nginx
<title>Accessing the trento-web UI</title>
<para>
Pin the browser to <literal>https://trento.example.com</literal>. You should be able to login
using the credentials specified in the <literal>ADMIN_USERNAME</literal> and
using the credentials specified in the <literal>ADMIN_USER</literal> and
<literal>ADMIN_PASSWORD</literal> environment variables.
</para>
</section>
Expand Down

0 comments on commit 374a934

Please sign in to comment.