-
Notifications
You must be signed in to change notification settings - Fork 3
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
✨ Multi-stage cluster addons and hook server #183
Commits on Jun 24, 2024
-
enable CI on addons branch (#52)
this commit enables CI on addons branch. Signed-off-by: Anurag <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 863d3b3 - Browse repository at this point
Copy the full SHA 863d3b3View commit details -
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4189514 - Browse repository at this point
Copy the full SHA 4189514View commit details -
✨ Adapt new cluster stack convention
Adapt controller with runtime sdk - API change for hook - Control loop for new way of cluster addon - fix hook server - update packages Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f43c23 - Browse repository at this point
Copy the full SHA 6f43c23View commit details -
🐛 Fix hook server service account and scheme
Update the hook sever service role Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b50680f - Browse repository at this point
Copy the full SHA b50680fView commit details -
✨ Add manual upgrade if no k8s version is changed (#33)
Add manual upgrade if no k8s version is changed Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c038dec - Browse repository at this point
Copy the full SHA c038decView commit details -
Update spec.cluster stack only after after controlplane is initialize…
…d and after cluster upgrade Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c96d079 - Browse repository at this point
Copy the full SHA c96d079View commit details -
Delete old object when cluster upgrade
- Download old cluster stack release if not present in the pod Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69ce1dc - Browse repository at this point
Copy the full SHA 69ce1dcView commit details -
use scs capd image while using docker provider
users on fedora using btrfs filesystem were having issues with capd and that was fixed on main and it requires building your own image and using the same here for now. I tested it by building the image locally and now I don't see any error. This will be fixed when we upgrade to 1.6.3 or later version. As of now, we will rely on image built from CAPI main branch and pushed to ghcr.io/sovereigncloudstack/capd with 1.0.5 tag. Signed-off-by: kranurag7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f15f28a - Browse repository at this point
Copy the full SHA f15f28aView commit details -
✨ Add hook server into same container as operator
Add hook server into same container as operator Adding the hook server into the same container as CSO Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46f1ac5 - Browse repository at this point
Copy the full SHA 46f1ac5View commit details -
Update kustomization var names
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da3ca9d - Browse repository at this point
Copy the full SHA da3ca9dView commit details -
Remove helmchartstatus after hook is finished
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 108de82 - Browse repository at this point
Copy the full SHA 108de82View commit details -
Add debug logs for the multi stage addon
Add debug log information in the addon controller Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5a34f9 - Browse repository at this point
Copy the full SHA f5a34f9View commit details -
✨ Add status resources for the helm charts
Adding status.resources Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b9f050 - Browse repository at this point
Copy the full SHA 2b9f050View commit details -
Fix overwrite yaml support Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b7c444 - Browse repository at this point
Copy the full SHA 3b7c444View commit details -
🌱 Remove kubernetes version from cluster addon api
use old release kubernetes version from the metadata.yaml Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d68147 - Browse repository at this point
Copy the full SHA 6d68147View commit details -
🌱 Remove status.currentHook from the cluster addon
Remove status.currentHook from the cluster addon Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 201e62d - Browse repository at this point
Copy the full SHA 201e62dView commit details -
🐛 Fix reset of HelmChartStatus of ClusterAddon
In the previous PR we introduced a bug that resets the status in every reconcile loop as long as a hook is specified. However, we only want to reset it once when the hook is new. This commit introduces the same. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d74e76a - Browse repository at this point
Copy the full SHA d74e76aView commit details -
Refactor HelmChartStatus so that it is more user-friendly and always shows the appropriate phase we are in. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b5eef5 - Browse repository at this point
Copy the full SHA 3b5eef5View commit details -
Fix untar of old cluster stacks
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31b3490 - Browse repository at this point
Copy the full SHA 31b3490View commit details -
🌱 Clean up resources on upgrade without k8s change
Clean up resources for upgrades that do not trigger the hook server because they don't upgrade the Kubernetes version Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe86746 - Browse repository at this point
Copy the full SHA fe86746View commit details -
Fixing bug that diff of old clusteraddons and new clusteraddons was calculated wrongly due to issues with pointers and for loops. Fixing the linting for the multi-stage cluster addons feature. Fix the extension hooks that didn't work properly until now. They should only update the clusteraddon once. Add hook server to localmode config. Update to yaml3 package. Allow missing values prefix in overwrite.yaml. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8651216 - Browse repository at this point
Copy the full SHA 8651216View commit details -
🌱 Set clusterAddon on ready only if required
Currently, we set the clusterAddon on ready always. we want to do that only at the end of a flow. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8305e73 - Browse repository at this point
Copy the full SHA 8305e73View commit details -
🌱 Add condition if waiting for hook server
Adding a condition that indicates that we wait for the hook server or that the hook server is responsive. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8df49e - Browse repository at this point
Copy the full SHA b8df49eView commit details -
Add reset of hook server in case where an upgrade happens that does not
update the Kubernetes version Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eeccb83 - Browse repository at this point
Copy the full SHA eeccb83View commit details -
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a508af5 - Browse repository at this point
Copy the full SHA a508af5View commit details -
Delete failed to evaluate CEL condition on success
Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ea89c4 - Browse repository at this point
Copy the full SHA 1ea89c4View commit details -
🌱 Add Finalizer for ClusterAddon object
Finalizer for ClusterAddon object to block deletion if Cluster exists Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61bb596 - Browse repository at this point
Copy the full SHA 61bb596View commit details -
✨ Add condition for Helm operations
Adding a new condition that gives precise information about the status of the operations regarding helm templating Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6cfdfd - Browse repository at this point
Copy the full SHA c6cfdfdView commit details
Commits on Jun 26, 2024
-
🌱 Fix linting, tests and prepare for merge
Fix linting in new clusteraddon-related files that we changed in the feature branch. Fixing unit tests. Prepare feature branch to merge by going through changes of PR and validating them. Fixing some small stuff, as well as changing unnecessary or temporary changes back to the state of the main branch. Signed-off-by: janiskemper <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ac74a0 - Browse repository at this point
Copy the full SHA 3ac74a0View commit details
Commits on Jun 28, 2024
-
Removing the temporary shouldDelete option
Removing the shouldDelete option in kubeClient.Apply that was not used anyway and always set on true. Co-authored-by: janiskemper <[email protected]> Signed-off-by: Aniruddha Basak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 594c5e8 - Browse repository at this point
Copy the full SHA 594c5e8View commit details -
Merge pull request #233 from SovereignCloudStack/ani/issues/232
🌱 Removing the temporary shouldDelete option to kubeClient.Apply that was not used anyway and always set on true
Configuration menu - View commit details
-
Copy full SHA for 346b8cf - Browse repository at this point
Copy the full SHA 346b8cfView commit details