Skip to content

Conversation

nairashu
Copy link
Contributor

Reason for Change:
feat: Add App Gateway Subnet ID as a field to the Overlay Extension Config CRD

Issue Fixed:
N/A

Requirements:

Notes:

@Copilot Copilot AI review requested due to automatic review settings August 12, 2025 20:35
@nairashu nairashu requested a review from a team as a code owner August 12, 2025 20:35
@nairashu nairashu requested a review from ecigar13 August 12, 2025 20:35
Copy link
Contributor

@Copilot Copilot AI left a 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.

@nairashu
Copy link
Contributor Author

/azp Azure Container Networking PR

Copy link

Command 'Azure' is not supported by Azure Pipelines.

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@nairashu
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nairashu
Copy link
Contributor Author

/azp run Azure Container Networking PR

@nairashu nairashu enabled auto-merge August 12, 2025 20:49
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nairashu
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

rejain456
rejain456 previously approved these changes Aug 12, 2025
kmurudi
kmurudi previously approved these changes Aug 12, 2025
@nairashu
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@kmurudi kmurudi left a 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

@nairashu nairashu added this pull request to the merge queue Aug 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@nairashu nairashu added this pull request to the merge queue Aug 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@nairashu nairashu added this pull request to the merge queue Aug 13, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 13, 2025
…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
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@nairashu nairashu added this pull request to the merge queue Aug 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 14, 2025
@nairashu nairashu added this pull request to the merge queue Aug 14, 2025
Merged via the queue into master with commit bcd6fb7 Aug 14, 2025
16 checks passed
@nairashu nairashu deleted the asn/AGCFix branch August 14, 2025 19:34
NihaNallappagari pushed a commit to NihaNallappagari/azure-container-networking that referenced this pull request Sep 4, 2025
…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
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.

4 participants