Skip to content

tools/kind.sh: split CA bundle into individual certs to silence c_rehash warnings - #326

Merged
ajfloeder merged 1 commit into
masterfrom
fix/kind-ca-cert-rehash-warnings
May 6, 2026
Merged

tools/kind.sh: split CA bundle into individual certs to silence c_rehash warnings#326
ajfloeder merged 1 commit into
masterfrom
fix/kind-ca-cert-rehash-warnings

Conversation

@ajfloeder

Copy link
Copy Markdown
Contributor

update-ca-certificates runs c_rehash, which requires exactly one certificate per file.
Injecting a multi-cert PEM bundle as a single .crt file caused spurious warnings on every kind.sh create.
Fix: pipe the bundle via stdin and split it with awk into individual extra-ca-cert-N.crt files before running update-ca-certificates.

@ajfloeder
ajfloeder merged commit a2a5145 into master May 6, 2026
1 check passed
@ajfloeder
ajfloeder deleted the fix/kind-ca-cert-rehash-warnings branch May 6, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants