Skip to content

fix: prevent chart reinstallation by adding service dependsOn to region/child MCS#623

Merged
AndrejsPon00 merged 2 commits into
k0rdent:mainfrom
AndrejsPon00:fix-mcs-service-deps
Nov 11, 2025
Merged

fix: prevent chart reinstallation by adding service dependsOn to region/child MCS#623
AndrejsPon00 merged 2 commits into
k0rdent:mainfrom
AndrejsPon00:fix-mcs-service-deps

Conversation

@AndrejsPon00
Copy link
Copy Markdown
Contributor

No description provided.

@AndrejsPon00 AndrejsPon00 requested a review from gmlexx as a code owner November 10, 2025 09:18
Copilot AI review requested due to automatic review settings November 10, 2025 09:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds explicit service dependencies to Multi-Cluster Service (MCS) definitions in regional and child cluster Helm charts to prevent premature chart installations and ensure proper deployment ordering.

Key Changes:

  • Added dependsOn declarations to enforce deployment order of services in MCS definitions
  • Ensures cert-manager is installed before dependent services
  • Creates proper dependency chain: cert-manager → ingress-nginx → kof-operators → kof-storage → kof-collectors

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
charts/kof-regional/templates/regional-multi-cluster-service.yaml Added dependsOn fields to ingress-nginx (depends on cert-manager), kof-operators (conditionally depends on ingress-nginx), kof-storage (depends on kof-operators), and kof-collectors (depends on kof-storage)
charts/kof-child/templates/child-multi-cluster-service.yaml Added dependsOn fields to kof-operators (conditionally depends on cert-manager) and kof-collectors (depends on kof-operators)

Comment thread charts/kof-regional/templates/regional-multi-cluster-service.yaml Outdated
Comment thread charts/kof-regional/templates/regional-multi-cluster-service.yaml
denis-ryzhkov
denis-ryzhkov previously approved these changes Nov 10, 2025
@AndrejsPon00 AndrejsPon00 merged commit 1bd87dc into k0rdent:main Nov 11, 2025
10 of 13 checks passed
@github-project-automation github-project-automation Bot moved this to Done in k0rdent Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants