Skip to content

Conversation

@chrisseto
Copy link
Contributor

Prior to this commit the chart had a variety of bugs around mTLS. The majority of them were incorrect path construction and handling of .clientSecretRef. The primary issue, though, is that the chart incorrectly mints a single client certificate regardless of how many trust chains are in use.

This commit moves all name and path references into helper methods onto the TLSCert itself and generates client certs per unique trust chain with client auth enabled.

K8S-719

Refactor the redpanda console integration to first convert
`redpanda.RenderState` into a `StaticConfiguration`. The `StaticConfiguration`
is then transformed into a `PartialConsoleValues` which is then merged into the
subchart values to perform the final rendering.

This is done to allow allow the charts' integration to be leveraged by the
upcoming console controller.

Notable changes include:
- Using the bootstrap user for console's auth instead of the first listed SASL
  user.
- Generating a partial version of Console's config to add typing to the configuration code.
- The introduction of `operator/pkg/ir` to host non-user facing datastructures.
  These structs may evolve without impact to our public APIs and help resolve
  cyclic imports.
Prior to this commit the chart had a variety of bugs around mTLS. The majority
of them were incorrect path construction and handling of `.clientSecretRef`.
The primary issue, though, is that the chart incorrectly mints a single client
certificate regardless of how many trust chains are in use.

This commit moves all name and path references into helper methods onto the
`TLSCert` itself and generates client certs per unique trust chain with client
auth enabled.

K8S-719
@chrisseto
Copy link
Contributor Author

This is based on #1071 as I didn't want to change the console implementation twice. The backport will be a bit nasty though.

@chrisseto chrisseto force-pushed the chris/p/redpanda-console-refactor branch 3 times, most recently from 58668bc to 8493983 Compare September 24, 2025 17:13
@chrisseto chrisseto deleted the branch chris/p/redpanda-console-refactor September 24, 2025 18:37
@chrisseto chrisseto closed this Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants