Skip to content

Rework override handling to properly support combined deployments#62

Merged
mclasmeier merged 2 commits into
mainfrom
mc/combined-overrides
Mar 17, 2026
Merged

Rework override handling to properly support combined deployments#62
mclasmeier merged 2 commits into
mainfrom
mc/combined-overrides

Conversation

@mclasmeier
Copy link
Copy Markdown
Collaborator

@mclasmeier mclasmeier commented Mar 4, 2026

With this change, when deploying both components combined, then the override file need to be structured as follows:

central:
  <overrides for central>

securedCluster:
  <overrides for secured cluster>

And the set expressions need to be similar:
--set central.foo=bar --set securedCluster.foo=bar.

Whereas when deploying components individually, this extra nesting must be skipped (behaviour as of now).

Before this change --override was practically dysfunctional for combined deployments.

1. When deplying both components combined, then the override file need to be structured as follows:

central:
  <overrides for central>

securedCluster:
  <overrides for secured cluster>

And the set expressions need to be similar:
--set central.foo=bar --set securedCluster.foo=bar

2. When deploying components individually, this extra nesting must be skipped (behaviour as of now).

So, essentially this is fixing the overrides for combined deployments.
Comment thread internal/deployer/deployer.go
@mclasmeier mclasmeier force-pushed the mc/combined-overrides branch from 26ee8ee to 4925dbb Compare March 17, 2026 08:09
@mclasmeier mclasmeier requested a review from porridge March 17, 2026 08:10
@mclasmeier mclasmeier merged commit fd54576 into main Mar 17, 2026
3 checks passed
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.

2 participants