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

[SURE-9311] Fleet's gitrepoJobsCleanup not disabled when continuous-delivery (Gitops) feature is off #3054

Open
kkaempf opened this issue Nov 7, 2024 · 0 comments
Labels
Milestone

Comments

@kkaempf
Copy link
Collaborator

kkaempf commented Nov 7, 2024

SURE-9311

Request description:

We have the continuous-delivery feature turned off on our rancher installation. When upgrading to rancher v2.9.3 (fleet v0.10.4) a new cronjob is created on the local cluster that generate failing jobs.

We've been able to turn off the cronjob creation by specifying "fleet" values in rancher's chart (i.e.: https://github.com/rancher/rancher/blob/main/chart/values.yaml#L200) and it all seems fine, but the warning about "override all other global values" might cause issues in later versions...

Would it be possible to set the default fleet chart value for migrations.gitrepoJobsCleanup based on the feature flag? Same way it is for the feature itself here: https://github.com/rancher/rancher/blob/main/pkg/controllers/dashboard/fleetcharts/controller.go#L121

Actual behavior:

Fleet cronjobs being created when fleet is disabled

Expected behavior:

No fleet cronjobs being created when fleet is disabled.

Workaround:

Is a workaround available and implemented? yes
What is the workaround:

We've been able to turn off the cronjob creation by specifying "fleet" values in rancher's chart (i.e.: https://github.com/rancher/rancher/blob/main/chart/values.yaml#L200) and it all seems fine, but the warning about "override all other global values" might cause issues in later versions...

@kkaempf kkaempf added kind/bug JIRA Must shout labels Nov 7, 2024
@rancherbot rancherbot added this to Fleet Nov 7, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Fleet Nov 7, 2024
@kkaempf kkaempf added this to the v2.9.5 milestone Nov 7, 2024
@kkaempf kkaempf moved this from 🆕 New to 📋 Backlog in Fleet Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant