Commit a712ce4
[v1.40] Set VOLTRON_CA_SIGNER_NAME env var for certificate management (#4674)
* Set CA_SIGNER_NAME env var on Voltron when certificate management is enabled
Passes the InstallationSpec CertificateManagement SignerName to the Voltron
container so it can identify the correct CA issuer public key, supporting
custom operator signer names (calico-private#11471).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Prefix CA_SIGNER_NAME env var with VOLTRON_
All Voltron env vars use the VOLTRON_ prefix to match envconfig processing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Use CA cert CommonName instead of SignerName for VOLTRON_CA_SIGNER_NAME
Expose CACertCommonName() on the CertificateManager interface to provide
the parsed CN from the CA certificate. This is the actual value Voltron
needs to match against cert.Subject.CommonName in the trust bundle.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Remove redundant embedded field selector for staticcheck
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ba5e3d4 commit a712ce4
4 files changed
Lines changed: 30 additions & 0 deletions
File tree
- pkg
- controller
- certificatemanager
- manager
- render
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
562 | 572 | | |
563 | 573 | | |
564 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| 683 | + | |
683 | 684 | | |
684 | 685 | | |
685 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
| |||
549 | 553 | | |
550 | 554 | | |
551 | 555 | | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
552 | 560 | | |
553 | 561 | | |
554 | 562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
880 | 890 | | |
881 | 891 | | |
882 | 892 | | |
| |||
1611 | 1621 | | |
1612 | 1622 | | |
1613 | 1623 | | |
| 1624 | + | |
1614 | 1625 | | |
1615 | 1626 | | |
1616 | 1627 | | |
| |||
0 commit comments