Skip to content

Use SHARED_MIWI_CLUSTER_VERSION env for cluster version#4885

Merged
kimorris27 merged 1 commit into
masterfrom
slawande/add-version-env
Jun 12, 2026
Merged

Use SHARED_MIWI_CLUSTER_VERSION env for cluster version#4885
kimorris27 merged 1 commit into
masterfrom
slawande/add-version-env

Conversation

@slawande2

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Replaces hardcoded cluster version (4.15.35) in shared MIWI cluster creation with the SHARED_MIWI_CLUSTER_VERSION environment variable

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the shared MIWI cluster creation script to avoid hardcoding the OpenShift cluster version, instead sourcing it from an environment variable so the version can be controlled externally (e.g., per environment/run) without editing the script.

Changes:

  • Adds SHARED_MIWI_CLUSTER_VERSION as a required environment variable.
  • Uses SHARED_MIWI_CLUSTER_VERSION for the az aro create --version argument (replacing the hardcoded 4.15.35).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread hack/shared-miwi-cluster.sh
@slawande2 slawande2 force-pushed the slawande/add-version-env branch from 7b428c9 to 09749cd Compare June 12, 2026 01:49
@slawande2 slawande2 added chainsaw Pull requests or issues owned by Team Chainsaw ready-for-review labels Jun 12, 2026
@kimorris27 kimorris27 merged commit eda8ff1 into master Jun 12, 2026
31 of 33 checks passed
@kimorris27 kimorris27 deleted the slawande/add-version-env branch June 12, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chainsaw Pull requests or issues owned by Team Chainsaw ready-for-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants