vishesh92 opened a new pull request, #83: URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/83
Fixes https://github.com/apache/cloudstack-kubernetes-provider/issues/39 <details><summary>Details</summary> <p> This pull request introduces support for a configurable `region` parameter in the CloudStack cloud provider code. The main change is the addition of the `region` field to the configuration and internal structures, allowing the region to be set independently of the zone. The logic in the `GetZone` method is updated to use the configured region if provided. Configuration and struct updates: * Added a `region` field to the `CSConfig` struct and its configuration parsing, allowing users to specify a region in their configuration file. * Added a `region` field to the `CSCloud` struct to store the configured region for use throughout the codebase. * Updated the `newCSCloud` constructor to initialize the `region` field from the configuration. Behavioral change: * Modified the `GetZone` method to set the `zone.Region` field to the configured region if it is set; otherwise, it defaults to using the zone as the region. </p> </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
