Deprecate OpenStack only fields in InfrastructureConfig - #281
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
7e373d4 to
a5ce9dc
Compare
Use exclude in golangci-lint instead of nolint for each
a5ce9dc to
a799000
Compare
a799000 to
dfa19ac
Compare
|
/hold
|
| IP string `json:"ip"` | ||
| // ExternalFixedIPs is the list of the router's assigned external fixed IPs. | ||
| // | ||
| // Deprecated: OpenStack-only; not used for STACKIT. |
There was a problem hiding this comment.
Isn't this used in other extensions?
There was a problem hiding this comment.
Other extensions should depend on the infra.Status.EgressCIDRs (They should not depend on the the provider part). Do you have anything special in mind?
Example for acl:
https://github.com/stackitcloud/gardener-extension-acl/blob/33491918ea575b3241d4c594d80ea517d9d80670/pkg/controller/actuator.go#L191
How to categorize this PR?
/kind enhancement
/cc @stackitcloud/ske-infrastructure
What this PR does / why we need it:
This is a followup from #280.
The
floatingPoolNamewas required but never used in a STACKIT only Cluster (since the validation is in place #212). It is only used in the STACKIT Infra-Controller in case there are OpenStack Credentials to pull the IDs of it in the Status.The #280 PR removed the validation. This PR removes that the FloatingNetID is get via OpenStack in the STACKIT Infra-Controller (even if there are OpenStack Credenitals), as there is no need for it. This PR sets all only OpenStack fields in the Infrastructure to Depreciated. In OpenStack we save the EgressIPs in the provider status of the Infrastructure object to put it later in the Infrastructure Object. This is now done directly via context for STACKIT to not use the unneeded deprecated field in STACKIT Infra Controller.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Breaking changes: