Skip to content

Conversation

@smiyc
Copy link
Contributor

@smiyc smiyc commented Dec 30, 2025

This PR introduces a new script: func_regions.sh which is sourced by common.sh

Included functions are:

set_regions() --> set $REGIONS to the provided arguments, if no arguments are provided the default regions "eu" and "us" are used

detect_running_regions() --> set $REGIONS to the provided arguments, if no arguments are provided the running regions are extraced from ´kind get clusters´

closes #39

Signed-off-by: Daniel Chambre [email protected]

Signed-off-by: Daniel Chambre <[email protected]>
@smiyc smiyc requested a review from a team as a code owner December 30, 2025 16:31
@sxd
Copy link
Member

sxd commented Jan 2, 2026

Some first thought before doing some test has been added! :D

smiyc added 2 commits January 2, 2026 14:10
Signed-off-by: Daniel Chambre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create functions to detect and manage regions

2 participants