Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: configurable certificate and private key settings #36

Open
1 task
embik opened this issue Feb 5, 2025 · 0 comments
Open
1 task

feature: configurable certificate and private key settings #36

embik opened this issue Feb 5, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@embik
Copy link
Member

embik commented Feb 5, 2025

Feature Description

We should allow users to tune the settings of certificates (e.g. lifetime) and private key settings across our fleet of objects (e.g. RootShard and Kubeconfig objects). Currently, this is hardcoded, see e.g.

PrivateKey: &certmanagerv1.CertificatePrivateKey{

We have to make sure that we provide a sensible default (maybe 4096 RSA private keys are not the state of the art anymore either), but users should be able to configure this.

Proposed Solution

Add fields to to resources that end up generating certificates and make them configurable. In general, we shouldn't make this available per certificate but allow users to set global sensible defaults in their object.

In addition, we should provide flags on the kcp-operator binary to make the defaults configurable.

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

@embik embik added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant