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

Autodetect certificate secret type #2301

Open
ramondeklein opened this issue Aug 29, 2024 · 0 comments
Open

Autodetect certificate secret type #2301

ramondeklein opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@ramondeklein
Copy link
Contributor

It may be required to set the secret type, when using externalCertSecret, externalCaCertSecret or clientCertSecret to make sure the operator mounts the certificate correctly. The type can also be auto-detected by inspecting the secret. This would make configuration easier and less error-prone.

The downside is that secrets need to be fetched, but a secret informer could be used to reduce the additional load of fetching certificates. I think it's worth the trade-off.

See

Type string `json:"type,omitempty"`
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant