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

Control init -upgrade behaviour #1471

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Control init -upgrade behaviour #1471

merged 3 commits into from
Jan 21, 2025

Conversation

daniel-ciaglia
Copy link
Contributor

The goal of this PR is control over the init process of a given stack. ATM this is hardcoded to init -upgrade which force updates all provioders within their smeVer ranges if one does not use fixed versions.

More background in the docs ;-)

  • add new flag upgradeOnInit to API
  • generate CRDs
  • add documentation

PS: If the PR is approved, squash merge would be best strategy as the history contains an unnecessary step as well.

- add new flag `upgradeOnInit` to API
- add documentation
@akselleirv
Copy link
Collaborator

Thank you for the contribution @daniel-ciaglia ! Can you please run make api-docs to fix the pipeline.

@daniel-ciaglia
Copy link
Contributor Author

@akselleirv - fixed in our fork and part of the PR now.

@daniel-ciaglia
Copy link
Contributor Author

@akselleirv - can we get this in soon? I have another PR in our upstream main, which I would love to merge (lynqtech#4) but not to pollute this PR.

@akselleirv akselleirv self-assigned this Jan 21, 2025
Copy link
Collaborator

@akselleirv akselleirv left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution @daniel-ciaglia 🥇

@akselleirv akselleirv merged commit 7ca23dc into flux-iac:main Jan 21, 2025
15 of 16 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