Skip to content

[module-sdk] feat: improve tls generator#105

Merged
ldmonster merged 1 commit into
mainfrom
feat/improve-tls-generator
May 7, 2026
Merged

[module-sdk] feat: improve tls generator#105
ldmonster merged 1 commit into
mainfrom
feat/improve-tls-generator

Conversation

@ldmonster
Copy link
Copy Markdown
Collaborator

@ldmonster ldmonster commented May 7, 2026

Allow configuring CA field names in GenSelfSignedTLSHookConf

Add two optional fields — CommonCACertField and CommonCAKeyField — to GenSelfSignedTLSHookConf that control the subkey names used to read and write the CA cert and key within CommonCAValuesPath.

Previously, the hook always assumed the CA was stored as <path>.crt / <path>.key. This made it impossible to source a CA that uses different field naming, such as Deckhouse's global.internal.modules.kubeRBACProxyCA, which stores the cert under .cert instead of .crt.

Both fields default to their original values ("crt" and "key"), so the change is fully backward-compatible.

Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
@ldmonster ldmonster self-assigned this May 7, 2026
@ldmonster ldmonster requested a review from lazovskiy May 7, 2026 07:51
@ldmonster ldmonster added the enhancement New feature or request label May 7, 2026
@ldmonster ldmonster merged commit 406106a into main May 7, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant