-
Notifications
You must be signed in to change notification settings - Fork 256
feat: Add App Gateway Subnet ID as a field to the Overlay Extension Config CRD #3925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
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 adds support for Application Gateway subnet configuration to the Overlay Extension Config CRD by introducing a new appGatewaySubnetID
field. This enables specifying a dedicated subnet for Application Gateway that can reach routing domain IP addresses, providing more granular network configuration options.
- Added
appGatewaySubnetID
field to the CRD specification with immutability validation - Updated the Go types to include the new field with appropriate validation rules
- Enhanced YAML formatting for better readability in description fields
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
crd/overlayextensionconfig/manifests/acn.azure.com_overlayextensionconfigs.yaml |
Updates CRD manifest to include the new appGatewaySubnetID field with validation rules and improved formatting |
crd/overlayextensionconfig/api/v1alpha1/overlayextensionconfig_types.go |
Adds the AppGatewaySubnetID field to the Go struct with immutability validation |
Comments suppressed due to low confidence (2)
crd/overlayextensionconfig/api/v1alpha1/overlayextensionconfig_types.go:37
- The removal of the
+kubebuilder:validation:Optional
comment appears unintentional. This annotation helps clarify that the field is optional and should be retained for consistency and clarity.
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
/azp Azure Container Networking PR |
Command 'Azure' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
crd/overlayextensionconfig/api/v1alpha1/overlayextensionconfig_types.go
Outdated
Show resolved
Hide resolved
…king existing clusters where this field is not populated
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving after all updates
…onfig CRD (#3925) * feat: Add App Gateway Subnet ID as a field to the Overlay Extension Config CRD * fix: Fixed the lint error from the pipeline * fix: Fixed the CRD Generation error from the pipelines * fix: Updated the name to be specific that we require the subnet Guid and not ARM ID * fix: Keeping the IP Range field as optional * fix: Making the App Gateway Subnet ID field as optional to avoid breaking existing clusters where this field is not populated * fix: Updated CRD to fix CRDGen Error
…onfig CRD (Azure#3925) * feat: Add App Gateway Subnet ID as a field to the Overlay Extension Config CRD * fix: Fixed the lint error from the pipeline * fix: Fixed the CRD Generation error from the pipelines * fix: Updated the name to be specific that we require the subnet Guid and not ARM ID * fix: Keeping the IP Range field as optional * fix: Making the App Gateway Subnet ID field as optional to avoid breaking existing clusters where this field is not populated * fix: Updated CRD to fix CRDGen Error
Reason for Change:
feat: Add App Gateway Subnet ID as a field to the Overlay Extension Config CRD
Issue Fixed:
N/A
Requirements:
Notes: