Skip to content

Conversation

@deitch
Copy link
Member

@deitch deitch commented May 25, 2025

This does a few things.

First, it makes the code much more readable, as all of the config is not 20 parameters passed to cluster.New(), but instead is a single struct, with a few parameters that should not be stored in the cluster secret.

Second, it saves all of that config into the cluster secret, so that it can be leveraged when running in the cluster.

At this point, it pivots to the cluster, everything is stored there. It does not yet run successfully from inside the cluster, as it does not leverage all of the secret information. That will be the next step.

@deitch deitch requested a review from vidas May 25, 2025 16:57
@deitch deitch force-pushed the cluster-save-params branch from cc55e29 to c7696fc Compare May 25, 2025 17:12
@deitch deitch force-pushed the cluster-save-params branch from c7696fc to a6f7a71 Compare May 25, 2025 17:28
Copy link
Member

@vidas vidas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful refactoring!

@deitch deitch merged commit e4d7a6c into main May 26, 2025
8 checks passed
@deitch deitch deleted the cluster-save-params branch May 26, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants