diff --git a/README.md b/README.md index d008d040a..aee9a295c 100644 --- a/README.md +++ b/README.md @@ -2680,6 +2680,22 @@ Delete `codefresh-certs-server` k8s secret and run [./configure-dind-certs.sh](h kubectl -n $NAMESPACE delete secret codefresh-certs-server ./configure-dind-certs.sh -n $RUNTIME_NAMESPACE https://$CODEFRESH_HOST $CODEFRESH_API_TOKEN ``` +**Case C: Windows runtimes** + +For Windows runtimes, you must perform the following steps: + +1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled). +2. Prepare the following parameters (the same for all Windows nodes): + * The node registration token + * The correct Docker root path (may vary) + * The platform API address +3. On each Windows node, one by one: + * Run the following PowerShell script: + [docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1) + * Provide the IP address of the specific node when running the script. +4. After the script completes, restart the Docker service on the node to ensure the new certificates are applied. + +Repeat these steps for every Windows node in the runtime. ### Consul Error: Refusing to rejoin cluster because the server has been offline for more than the configured server_rejoin_age_max diff --git a/README.md.gotmpl b/README.md.gotmpl index faa7d8eb6..4bd66265c 100644 --- a/README.md.gotmpl +++ b/README.md.gotmpl @@ -2696,6 +2696,22 @@ Delete `codefresh-certs-server` k8s secret and run [./configure-dind-certs.sh](h kubectl -n $NAMESPACE delete secret codefresh-certs-server ./configure-dind-certs.sh -n $RUNTIME_NAMESPACE https://$CODEFRESH_HOST $CODEFRESH_API_TOKEN ``` +**Case C: Windows runtimes** + +For Windows runtimes, you must perform the following steps: + +1. Obtain a node registration token (you can generate it in any account with the "privateNodes" feature enabled). +2. Prepare the following parameters (the same for all Windows nodes): + * The node registration token + * The correct Docker root path (may vary) + * The platform API address +3. On each Windows node, one by one: + * Run the following PowerShell script: + [docker-vm/hybrid/gen-docker-certs.ps1 at master · codefresh-io/docker-vm](https://github.com/codefresh-io/docker-vm/blob/master/hybrid/gen-docker-certs.ps1) + * Provide the IP address of the specific node when running the script. +4. After the script completes, restart the Docker service on the node to ensure the new certificates are applied. + +Repeat these steps for every Windows node in the runtime. ### Consul Error: Refusing to rejoin cluster because the server has been offline for more than the configured server_rejoin_age_max