Skip to content

Commit 4dcca49

Browse files
authored
fix: Fixed the CRD Generation error from the pipelines
1 parent 9422777 commit 4dcca49

File tree

1 file changed

+73
-76
lines changed

1 file changed

+73
-76
lines changed

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

Lines changed: 73 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -12,82 +12,79 @@ spec:
1212
listKind: OverlayExtensionConfigList
1313
plural: overlayextensionconfigs
1414
shortNames:
15-
- oec
15+
- oec
1616
singular: overlayextensionconfig
1717
scope: Namespaced
1818
versions:
19-
- additionalPrinterColumns:
20-
- jsonPath: .spec.extensionIPRange
21-
name: OverlayExtensionConfig IP range
22-
priority: 1
23-
type: string
24-
name: v1alpha1
25-
schema:
26-
openAPIV3Schema:
27-
description:
28-
OverlayExtensionConfig is the Schema for the overlayextensionconfigs
29-
API
30-
properties:
31-
apiVersion:
32-
description: |-
33-
APIVersion defines the versioned schema of this representation of an object.
34-
Servers should convert recognized schemas to the latest internal value, and
35-
may reject unrecognized values.
36-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
37-
type: string
38-
kind:
39-
description: |-
40-
Kind is a string value representing the REST resource this object represents.
41-
Servers may infer this from the endpoint the client submits requests to.
42-
Cannot be updated.
43-
In CamelCase.
44-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
45-
type: string
46-
metadata:
47-
type: object
48-
spec:
49-
description: OverlayExtensionConfigSpec defines the desired state of OverlayExtensionConfig.
50-
properties:
51-
appGatewaySubnetID:
52-
description:
53-
AppGatewaySubnetID field defines a subnet delegated to
54-
Application Gateway that should be able to reach routing domain
55-
ip addresses.
56-
type: string
57-
x-kubernetes-validations:
58-
- message: Value is immutable
59-
rule: self == oldSelf
60-
extensionIPRange:
61-
description: |-
62-
ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.
63-
43 is max length of IPv6 CIDR string
64-
maxLength: 43
65-
type: string
66-
x-kubernetes-validations:
67-
- message: Value is immutable
68-
rule: self == oldSelf
69-
type: object
70-
x-kubernetes-validations:
71-
- message: ExtensionIPRange is required once set
72-
rule: "!has(oldSelf.extensionIPRange) || has(self.extensionIPRange)"
73-
status:
74-
description:
75-
OverlayExtensionConfigStatus defines the observed state of
76-
OverlayExtensionConfig
77-
properties:
78-
message:
79-
type: string
80-
state:
81-
default: None
82-
enum:
83-
- None
84-
- Pending
85-
- Succeeded
86-
- Failed
87-
type: string
88-
type: object
89-
type: object
90-
served: true
91-
storage: true
92-
subresources:
93-
status: {}
19+
- additionalPrinterColumns:
20+
- jsonPath: .spec.extensionIPRange
21+
name: OverlayExtensionConfig IP range
22+
priority: 1
23+
type: string
24+
name: v1alpha1
25+
schema:
26+
openAPIV3Schema:
27+
description: OverlayExtensionConfig is the Schema for the overlayextensionconfigs
28+
API
29+
properties:
30+
apiVersion:
31+
description: |-
32+
APIVersion defines the versioned schema of this representation of an object.
33+
Servers should convert recognized schemas to the latest internal value, and
34+
may reject unrecognized values.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36+
type: string
37+
kind:
38+
description: |-
39+
Kind is a string value representing the REST resource this object represents.
40+
Servers may infer this from the endpoint the client submits requests to.
41+
Cannot be updated.
42+
In CamelCase.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44+
type: string
45+
metadata:
46+
type: object
47+
spec:
48+
description: OverlayExtensionConfigSpec defines the desired state of OverlayExtensionConfig.
49+
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
58+
extensionIPRange:
59+
description: |-
60+
ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.
61+
43 is max length of IPv6 CIDR string
62+
maxLength: 43
63+
type: string
64+
x-kubernetes-validations:
65+
- message: Value is immutable
66+
rule: self == oldSelf
67+
type: object
68+
x-kubernetes-validations:
69+
- message: ExtensionIPRange is required once set
70+
rule: '!has(oldSelf.extensionIPRange) || has(self.extensionIPRange)'
71+
status:
72+
description: OverlayExtensionConfigStatus defines the observed state of
73+
OverlayExtensionConfig
74+
properties:
75+
message:
76+
type: string
77+
state:
78+
default: None
79+
enum:
80+
- None
81+
- Pending
82+
- Succeeded
83+
- Failed
84+
type: string
85+
type: object
86+
type: object
87+
served: true
88+
storage: true
89+
subresources:
90+
status: {}

0 commit comments

Comments
 (0)