Skip to content

Fix override behavior for all other services#96

Merged
galt-tr merged 1 commit into
bsv-blockchain:masterfrom
galt-tr:fixOverrides
Mar 25, 2026
Merged

Fix override behavior for all other services#96
galt-tr merged 1 commit into
bsv-blockchain:masterfrom
galt-tr:fixOverrides

Conversation

@galt-tr
Copy link
Copy Markdown
Contributor

@galt-tr galt-tr commented Mar 25, 2026

This pull request fixes the order in which deployment overrides are applied during the update of various Kubernetes deployments managed by different reconcilers. The main change is to ensure that SetDeploymentOverrides is always called after SetClusterOverrides, so that deployment-specific overrides take precedence over cluster-wide settings.

Deployment override order correction:

  • Moved the call to utils.SetDeploymentOverrides (or utils.SetDeploymentOverridesWithContext for propagation) to come after utils.SetClusterOverrides in all relevant reconciler updateDeployment functions. This ensures that deployment-specific overrides are not unintentionally overwritten by cluster-wide settings. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

@galt-tr galt-tr requested a review from mrz1836 as a code owner March 25, 2026 16:38
@github-actions github-actions Bot added fork-pr PR originated from a forked repository requires-manual-review PR or issue requires manual review by a maintainer or security team labels Mar 25, 2026
@github-actions
Copy link
Copy Markdown

👋 Thanks, @galt-tr!

This pull request comes from a fork. For security, our CI runs in a restricted mode.
A maintainer will triage this shortly and run any additional checks as needed.

  • 🏷️ Labeled: fork-pr, requires-manual-review
  • 👀 We'll review and follow up here if anything else is needed.

Thanks for contributing to bsv-blockchain/teranode-operator! 🚀

@sonarqubecloud
Copy link
Copy Markdown

@galt-tr galt-tr merged commit 97561a1 into bsv-blockchain:master Mar 25, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fork-pr PR originated from a forked repository requires-manual-review PR or issue requires manual review by a maintainer or security team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants