Onboard "region" global flag for region-specific requests#550
Conversation
…the "region" flag
- add global flag "region"
bahkauv70
left a comment
There was a problem hiding this comment.
The attribute defaultNodepoolAvailabilityZone in pkg/services/ske/utils/utils.go is currently set to "eu01-3". Must this be changed to the global region flag as well?
Availability zone and region are different concepts as far as I know, I wouldn't change this one |
I have checked its usage. It is used by the |
|
That's a good point, it could create issues. When SKE is available in the new region, we should check with them what should be the default value for the availability zone in that case and have some default mapping |
Add global flag "region" to set the region for region-specific requests