Skip to content

Commit ef528c5

Browse files
committed
feat: add AppGatewaySubnetID field to OverlayExtensionConfig CRD
1 parent 8cc5b7e commit ef528c5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

crd/overlayextensionconfig/api/v1alpha1/overlayextensionconfig_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ type OverlayExtensionConfigSpec struct {
3939
// +kubebuilder:validation:MaxLength=43
4040
// 43 is max length of IPv6 CIDR string
4141
ExtensionIPRange string `json:"extensionIPRange,omitempty"`
42+
43+
// AppGatewaySubnetID field defines a subnet delegated to Application Gateway that should be able to reach routing domain ip addresses.
44+
// +kubebuilder:validation:Optional
45+
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
46+
AppGatewaySubnetID string `json:"appGatewaySubnetID,omitempty"`
4247
}
4348

4449
type OECState string

crd/overlayextensionconfig/manifests/acn.azure.com_overlayextensionconfigs.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ spec:
4747
spec:
4848
description: OverlayExtensionConfigSpec defines the desired state of OverlayExtensionConfig.
4949
properties:
50+
appGatewaySubnetID:
51+
description: AppGatewaySubnetID field defines a subnet delegated to
52+
Application Gateway that should be able to reach routing domain
53+
ip addresses.
54+
type: string
55+
x-kubernetes-validations:
56+
- message: Value is immutable
57+
rule: self == oldSelf
5058
extensionIPRange:
5159
description: |-
5260
ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.

0 commit comments

Comments
 (0)