This adds in a helper for constructing a client to a cluster based on a given chart configuration using our generator code.
This code re-implements the more ad-hoc code from the WIP PR https://github.com/redpanda-data/redpanda-operator/pull/181, allowing us to leverage more of the generator helpers and co-locating the code that actually knows how our resource names are constructed. This, combined with https://github.com/redpanda-data/helm-charts/pull/1484 and our existing helm client in this repo should allow me to re-implement the intent of the original PR (initializing clients from a Redpanda ClusterRef) in a much cleaner, more ergonomic way.
This adds in a helper for constructing a client to a cluster based on a given chart configuration using our generator code.
This code re-implements the more ad-hoc code from the WIP PR https://github.com/redpanda-data/redpanda-operator/pull/181, allowing us to leverage more of the generator helpers and co-locating the code that actually knows how our resource names are constructed. This, combined with https://github.com/redpanda-data/helm-charts/pull/1484 and our existing helm client in this repo should allow me to re-implement the intent of the original PR (initializing clients from a Redpanda
ClusterRef
) in a much cleaner, more ergonomic way.