Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7784dd1

Browse files
docs(classic runtime): improve dind cert docs (#1290)
* docs(classic runtime): improve dind cert docs* Update install-codefresh-runner.md* Update install-codefresh-runner.md---------Co-authored-by: NimRegev <nima.regev@codefresh.io>
1 parente21ce58 commit7784dd1

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

‎_docs/installation/runner/install-codefresh-runner.md‎

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,30 @@ dockerDaemonScheduler:
389389
{% endhighlight %}
390390

391391
##Replacing expired certificates
392-
If your builds are failing with`Failed to validate connection to Docker daemon; caused by Error: certificate has expired`, you can verify if your certificates have expired, and if needed replace them.
393-
See[Troubleshooting this error on ArtifactHub](https://artifacthub.io/packages/helm/codefresh-onprem/codefresh#error-failed-to-validate-connection-to-docker-daemon-caused-by-error-certificate-has-expired){:target="\_blank"}.
392+
If your builds are stuck in Pending or failing with`Failed to validate connection to Docker daemon; caused by Error: certificate has expired`, you can verify if your certificates have expired, and then replace them if needed.
393+
394+
###For Codefresh Runner installed with HELM chart
395+
396+
* Re-apply the[`cf-runtime` helm chart](https://artifacthub.io/packages/helm/codefresh-runner/cf-runtime){:target="\_blank"}.
397+
Post-upgrade, the`gencerts-dind` Helm hook regenerates the DinD certificates using a new CA (Certificate Authority).
398+
399+
###For Codefresh Runner installed with legacy CLI
400+
401+
1. Delete`codefresh-certs-server` k8s secret;
402+
2. Download[`./configure-dind-certs.sh` script](https://github.com/codefresh-support/cf-utils/blob/master/configure-dind-certs.sh) and run it:
403+
404+
```
405+
# Ensure the following environment variables are defined before running the command:
406+
# $RUNTIME_NAMESPACE: The namespace where the runtime is installed.
407+
# $CODEFRESH_HOST: The Codefresh host URL (e.g., g.codefresh.io).
408+
# $CODEFRESH_API_TOKEN: Your Codefresh API token with the required scopes.
409+
410+
kubectl -n $RUNTIME_NAMESPACE delete secret codefresh-certs-server
411+
412+
chmod +x ./configure-dind-certs.sh
413+
./configure-dind-certs.sh -n $RUNTIME_NAMESPACE https://$CODEFRESH_HOST $CODEFRESH_API_TOKEN
414+
```
415+
394416

395417
##CLI-based Codefresh Runner installation
396418

@@ -1822,5 +1844,3 @@ For troubleshooting information, refer to the [Knowledge Base]({{site.baseurl}}/
18221844
[Codefresh platform deployment]({{site.baseurl}}/docs/installation/installation-options/)
18231845
[Codefresh on-premises deployment]({{site.baseurl}}/docs/installation/on-premises/codefresh-on-prem/)
18241846
[Codefresh API]({{site.baseurl}}/docs/integrations/codefresh-api/)
1825-
1826-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp