UiPath Documentation
automation-suite
2023.10
false
Automation Suite on Linux installation guide

Updating the registry credentials

Update container registry credentials in the cluster_config.json configuration file for Automation Suite.

To update the registry credentials, take the following steps:

  1. Update the registry credentials section in the cluster_config.json configuration file:

    "registries": {
        "docker": {
          "url": "yourContainerRegistryUrl",
          "username": "username",
          "password": "<your-password>" ,
          "pull_secret_value": "new_pull_secret_value"
        },
        "helm": {
          "url": "yourContainerRegistryUrl",
          "username": "username",
          "password": "<your-password>"
        }
      }
    "registries": {
        "docker": {
          "url": "yourContainerRegistryUrl",
          "username": "username",
          "password": "<your-password>" ,
          "pull_secret_value": "new_pull_secret_value"
        },
        "helm": {
          "url": "yourContainerRegistryUrl",
          "username": "username",
          "password": "<your-password>"
        }
      }
    

    To generate the value for pull_secret_value, refer to the How to section.

  2. Re-run the Automation Suite infrastructure installation as follows:

    1. Re-install the infrastructure on the first server machine. For details, refer to Step 2: Installing the infrastructure on the first server machine.
    2. Re-install the infrastructure on the other server machines. For details, refer to Step 3: Installing the infrastructure on the other server machines.
    3. Re-install the infrastructure on the agent nodes. For details, refer to Step 4: Installing the infrastructure on all the agent machines.
  3. Depending on the node type, restart the rke2-server or rke2-agent services on all nodes, by running the following commands:

    • On server nodes, to restart the rke2-server service, run the following command:
      systemctl restart rke2-server
      systemctl restart rke2-server
      
    • On agent nodes, to restart the rke2-agent service, run the following command:
      systemctl restart rke2-agent
      systemctl restart rke2-agent
      
  4. Delete the existing uipathpullsecret secret in all namespaces, by running the following commands:

    kubectl get secrets --all-namespaces | grep uipathpullsecret | awk '{print $1 " " $2}' | while read namespace secret; do
    kubectl delete secret "$secret" -n "$namespace" ;
    done ;
    kubectl get secrets --all-namespaces | grep uipathpullsecret | awk '{print $1 " " $2}' | while read namespace secret; do
    kubectl delete secret "$secret" -n "$namespace" ;
    done ;
    
  5. Re-run the fabric and services installation. For details, refer to Step 5: Completing the installation.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated