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

fix: proper of wait and dependsOn in flux ks and hr #771

Merged
merged 3 commits into from
Jun 4, 2023

Conversation

onedr0p
Copy link
Owner

@onedr0p onedr0p commented Jun 4, 2023

The plan here is you only need to wait: true on flux ks that have child flux ks deps.

The underlying problem is that if you push a bad helmrelease and wait is true on the flux ks that manages it, flux will not retry until the timeout on the flux ks.

With wait: false, the helm controller will be the one alerting the problem and pushing a fix flux will apply the changes quicker instead of waiting for the flux ks to timeout.

tl;dr: Use flux ks deps on flux ks that actually need to depend on other flux ks, use flux hr deps on flux hrs that need to depend on other flux hrs

Signed-off-by: Devin Buhl <devin@buhl.casa>
@github-actions github-actions bot added area/github Changes made in the github directory area/kubernetes Changes made in the kubernetes directory labels Jun 4, 2023
onedr0p added 2 commits June 4, 2023 09:01
Signed-off-by: Devin Buhl <devin@buhl.casa>
Signed-off-by: Devin Buhl <devin@buhl.casa>
@github-actions github-actions bot removed the area/github Changes made in the github directory label Jun 4, 2023
@onedr0p onedr0p changed the title fix: small refactoring on flux ks and hr deps fix: prouse of wait and dependsOn in flux ks and hr Jun 4, 2023
@onedr0p onedr0p changed the title fix: prouse of wait and dependsOn in flux ks and hr fix: proper of wait and dependsOn in flux ks and hr Jun 4, 2023
@onedr0p onedr0p merged commit c11092b into main Jun 4, 2023
@onedr0p onedr0p deleted the dependency-changes branch June 4, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant