stackabletech / stackabletech/operator-rs

Enable usage of dynamic leaf certificates using a certificate resolver

Open
#745 0 comments 0 reactions 1 assignee View on GitHub

@Techassi is already working on this.

Since Mar 5, 2024.

Dominant language
Rust
Stars
167
Forks
19
Avg merge
1d 6h
Merged PRs (30d)
9

Description

Currently to use TLS with webhooks, you have to manually mount a volume with the CA.

This PR: https://github.com/stackabletech/operator-rs/pull/736 adds a module to the framework that supports creating CAs and leaf certificates. Here we could just call the code to generate the certs and call the server, but then there is no way for them to be swapped out if they expire.

This ticket is about writing code to - instead of mounting a single cert - resolve a cert dynamically, allowing us to swap out expired certs while the Webhook server is running.

This resolver will be used by the stackable-webhook crate.

Follow up of #736.

Acceptance criteria

  • This TODO is resolved, and the AutoGenerate feature on the CA for the webhook works

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.