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

[WIP] ✨ Multi-stage cluster addons and hook server #64

Closed
wants to merge 39 commits into from
Closed

Commits on Jan 17, 2024

  1. enable CI on addons branch (#52)

    this commit enables CI on addons branch.
    
    Signed-off-by: Anurag <[email protected]>
    kranurag7 authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    9fe62b2 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Add runtime hook server

    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    e795fbf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #56 from SovereignCloudStack/ani-syself/add-hook-s…

    …erver
    
    ✨ Hook server and Tilt setup
    janiskemper authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d724741 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. ✨ 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]>
    aniruddha2000 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d4bc766 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #61 from SovereignCloudStack/ani-syself/add-cluste…

    …r-addon-api-change
    
    ✨ Adapt new cluster stack convention
    janiskemper authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    799b36d View commit details
    Browse the repository at this point in the history
  3. 🐛 Fix hook server service account and scheme

    Update the hook sever service role
    
    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 authored and janiskemper committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6a661e1 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Merge pull request #65 from SovereignCloudStack/ani-syself/fix-hook-s…

    …erver-service-acc
    
    🐛 Fix hook server service account and scheme
    janiskemper authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    8108ded View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. ✨ 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]>
    aniruddha2000 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4814dcd View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Merge pull request #74 from SovereignCloudStack/ani-syself/add-manual…

    …-upgrade
    
    ✨ Add manual upgrade if no k8s version is changed
    janiskemper authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    2668dc6 View commit details
    Browse the repository at this point in the history
  2. Update spec.cluster stack only after after controlplane is initialize…

    …d and after cluster upgrade
    
    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    1633e54 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #115 from SovereignCloudStack/ani/update-speccs-af…

    …ter-hook
    
    ✨ Update spec.cluster stack only after after controlplane is initialized and after cluster upgrade
    aniruddha2000 authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    a9c9020 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Delete old object when cluster upgrade

    - Download old cluster stack release if not present in the pod
    
    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    4cfeb79 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Merge pull request #119 from SovereignCloudStack/ani/delete-helmchart…

    …-object
    
    ✨ Compare and delete old helm chart objects
    janiskemper authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    2b284c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. 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]>
    kranurag7 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    3b92f88 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Merge pull request #124 from SovereignCloudStack/kr/use-scs-capd-image

    🌱 use scs capd image while using docker provider
    janiskemper authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    4e53848 View commit details
    Browse the repository at this point in the history
  2. ✨ 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]>
    janiskemper committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    af95ddf View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Merge pull request #135 from SovereignCloudStack/hook-server-one-cont…

    …ainer
    
    ✨ Add hook server into same container as operator
    aniruddha2000 authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d52242c View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Update kustomization var names

    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d793bc9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #137 from SovereignCloudStack/ani/issues/136

    🐛 Update kustomization var names
    aniruddha2000 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    fa9b2fc View commit details
    Browse the repository at this point in the history
  3. Remove helmchartstatus after hook is finished

    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    4073ab9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #139 from SovereignCloudStack/ani/issues/138

    🌱 Remove helmchartstatus after hook is finished
    aniruddha2000 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7d5e64c View commit details
    Browse the repository at this point in the history
  5. Add debug logs for the multi stage addon

    Add debug log information in the addon controller
    
    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0639ef3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #141 from SovereignCloudStack/ani/issues/140

    🌱 Add debug logs for the multi stage addon
    aniruddha2000 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    e5311fe View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. ✨ Add status resources for the helm charts

    Adding status.resources
    Signed-off-by: janiskemper <[email protected]>
    janiskemper committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d6f278d View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Merge pull request #143 from SovereignCloudStack/status-resources

    ✨ Add status resources for the helm charts
    janiskemper authored May 3, 2024
    Configuration menu
    Copy the full SHA
    0961956 View commit details
    Browse the repository at this point in the history
  2. 🐛 Fix overwrite yaml support

    Fix overwrite yaml support
    
    Signed-off-by: janiskemper <[email protected]>
    janiskemper committed May 3, 2024
    Configuration menu
    Copy the full SHA
    dc837e1 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Merge pull request #145 from SovereignCloudStack/fix-overwrite

    🐛 Fix overwrite yaml support
    janiskemper authored May 7, 2024
    Configuration menu
    Copy the full SHA
    a69b583 View commit details
    Browse the repository at this point in the history
  2. 🌱 Remove kubernetes version from cluster addon api

    use old release kubernetes version from the metadata.yaml
    
    Signed-off-by: janiskemper <[email protected]>
    janiskemper committed May 7, 2024
    Configuration menu
    Copy the full SHA
    9d140b1 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Merge pull request #147 from SovereignCloudStack/remove-k8s-version

    🌱 Remove kubernetes version from cluster addon api
    janiskemper authored May 13, 2024
    Configuration menu
    Copy the full SHA
    62835dc View commit details
    Browse the repository at this point in the history
  2. 🌱 Remove status.currentHook from the cluster addon

    Remove status.currentHook from the cluster addon
    
    Signed-off-by: janiskemper <[email protected]>
    janiskemper committed May 13, 2024
    Configuration menu
    Copy the full SHA
    4c13d44 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Merge pull request #151 from SovereignCloudStack/remove-status-curren…

    …thook
    
    🌱 Remove status.currentHook from the cluster addon
    janiskemper authored May 21, 2024
    Configuration menu
    Copy the full SHA
    cef2e7b View commit details
    Browse the repository at this point in the history
  2. 🐛 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]>
    janiskemper committed May 21, 2024
    Configuration menu
    Copy the full SHA
    3605aa0 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Merge pull request #155 from SovereignCloudStack/fix-status-reset

    🐛 Fix reset of HelmChartStatus of ClusterAddon
    janiskemper authored May 28, 2024
    Configuration menu
    Copy the full SHA
    1fa9e3a View commit details
    Browse the repository at this point in the history
  2. 🌱 Refactor HelmChartStatus

    Refactor HelmChartStatus so that it is more user-friendly and always
    shows the appropriate phase we are in.
    
    Signed-off-by: janiskemper <[email protected]>
    janiskemper committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b5abd8c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #165 from SovereignCloudStack/refactor-helmchartst…

    …atus
    
    🌱 Refactor HelmChartStatus
    janiskemper authored May 28, 2024
    Configuration menu
    Copy the full SHA
    9c178da View commit details
    Browse the repository at this point in the history
  4. Fix untar of old cluster stacks

    Signed-off-by: Aniruddha Basak <[email protected]>
    aniruddha2000 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ee43aa2 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Merge pull request #168 from SovereignCloudStack/ani/issues/167

    ✨ Remove unwanted objects during upgrade with hook server
    janiskemper authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    deba9bc View commit details
    Browse the repository at this point in the history
  2. 🌱 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]>
    janiskemper committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    3a115a0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #177 from SovereignCloudStack/fix-delete

    🌱 Clean up resources on upgrade without k8s change
    janiskemper authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    2512a7a View commit details
    Browse the repository at this point in the history