Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for migration from Chart Operator to Flux Helm Controller in App Platform #502

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

ljakimczuk
Copy link
Contributor

@ljakimczuk ljakimczuk commented May 22, 2024

Towards: giantswarm/roadmap#2455

Description

From now on, the Cluster Apps Operator checks the app-operator.giantswarm.io/flux-backend is set on Cluster CR, and if so, it stops creating Chart Operator App CR and makes sure the App Operator is configured to use Helm Controller as a downstream controller.

Internally a new OperatorKit resource has been introduced, called migration, that is charge of decomissioning the Chart Operator for clusters that have proviously had it. A note for those who may wonder about the necessity of a new resource. The easiest way to remove Chart Operator is to initiate deletion of its App CR and to let the App Operator do the rest. This could be done in the app OperatorKit resource of the CAsO, in which Chart Operator is normally handled. However in order to remove the Chart Operator, the App Operator must be configured the old way, but won't be at the time the app resource is processed. This is because the configmap resources gets executed before that, which is in charge of re-configuring App Operator.

Checklist

  • Update changelog in CHANGELOG.md.

@ljakimczuk ljakimczuk force-pushed the prepare-for-new-app-platform branch from d684ec1 to a6ba136 Compare June 20, 2024 13:32
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.

1 participant