Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Detect IONOS managed Stackable clusters and skip installing releases #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbernauer
Copy link
Member

@sbernauer sbernauer commented Oct 19, 2022

Without this patch demos can't be installed on IONOS managed Stackable clusters.
Now it's a best-effort job as the demo might work with the operator versions of the managed stackable.
Maybe we should discuss the Platform release strategy in combination with managed stackable

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

let deployments = Api::<Deployment>::namespaced(client, "stackable-operators")
.list(&ListParams::default())
.await?;
for deployment in deployments {
Copy link
Member

Choose a reason for hiding this comment

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

This loop sounds like something worth moving into its own method so it can be unit tested.

Copy link
Member Author

Choose a reason for hiding this comment

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

My hope would be, that we get some more clear marker (e.g. a label on the stackable-operators Namespace) from the IONOS colleagues and replace this section

@sbernauer
Copy link
Member Author

For the record: Had a quick chat with the IONOS folks. They switched to installing SDP Plattform releases. They will mark us with a label on a Namespace which SDP platform version is installed so we can pick it up and validate if the stack/demo is going to run.

@lfrancke
Copy link
Member

lfrancke commented Nov 8, 2022

Okay, let me know when that has happened and I can put it on the board.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants