diff --git a/downstream/modules/automation-dashboard/proc-integrating-automation-dashboard.adoc b/downstream/modules/automation-dashboard/proc-integrating-automation-dashboard.adoc index 5803ed7626..870ba91d37 100644 --- a/downstream/modules/automation-dashboard/proc-integrating-automation-dashboard.adoc +++ b/downstream/modules/automation-dashboard/proc-integrating-automation-dashboard.adoc @@ -94,16 +94,21 @@ The `access_token`, `refresh_token`, and `client_secret` are stored in the {Auto These values are encrypted for security. ==== -. Load and activate your {AutomationDashboardName} configuration: +. Load and activate your {AutomationDashboardName} configuration. You must copy the configuration file to the container’s `/tmp/` directory. The system automatically removes the file from the container after successful processing. + [source,bash] ---- -podman cp clusters.yaml automation-dashboard-web:/ -podman exec -it automation-dashboard-web /venv/bin/python manage.py setclusters /clusters.yaml +podman cp clusters.yaml automation-dashboard-web:/tmp +podman exec -it automation-dashboard-web /venv/bin/python manage.py setclusters /tmp/clusters.yaml ---- + [NOTE] ==== +If the system cannot remove the file from the /tmp/ directory, it displays an error message and continues running. +==== ++ +[NOTE] +==== **Token Rotation:** The {AutomationDashboardName} rotates tokens internally for security but does not update your local `clusters.yaml` file. If you must re-run the `setclusters` command later, your defined tokens might be expired. To retrieve the current valid tokens, run the following command and save the output to a new file: diff --git a/downstream/modules/automation-dashboard/proc-upgrading-automation-dashboard.adoc b/downstream/modules/automation-dashboard/proc-upgrading-automation-dashboard.adoc index 06f5b932b3..85ea276990 100644 --- a/downstream/modules/automation-dashboard/proc-upgrading-automation-dashboard.adoc +++ b/downstream/modules/automation-dashboard/proc-upgrading-automation-dashboard.adoc @@ -57,12 +57,12 @@ ansible-playbook -i inventory ansible.containerized_installer.dashboard_install For instructions on obtaining these values, see link:https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/{PlatformVers}/html-single/using_automation_dashboard/index#proc-integrating-automation-dashboard[Integrating {AutomationDashboardName} with your {PlatformNameShort}]. ==== -. Apply the updated configuration to the dashboard: +. Apply the updated configuration to the dashboard. You must copy the configuration file to the container's `/tmp/` directory: + [source,bash] ---- -podman cp clusters.yaml automation-dashboard-web:/ -podman exec -it automation-dashboard-web /venv/bin/python manage.py setclusters /clusters.yaml +podman cp clusters.yaml automation-dashboard-web:/tmp/ +podman exec -it automation-dashboard-web /venv/bin/python manage.py setclusters /tmp/clusters.yaml ---- .Verification