Skip to content

Commit 39cdc30

Browse files
committed
fixing crd pipeline error
1 parent ec74f22 commit 39cdc30

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ spec:
7272
description: MultitenantPodNetworkConfigStatus defines the observed state
7373
of PodNetworkConfig
7474
properties:
75+
defaultDenyACL:
76+
description: DefaultDenyAcl bool indicates whether default deny policy
77+
will be present on the pods upon pod creation
78+
type: boolean
7579
gatewayIP:
7680
description: Deprecated - use InterfaceInfos
7781
type: string
78-
defaultDenyACL:
79-
description: indicates whether default deny policy will be present on the pods upon pod creation
80-
type: boolean
8182
interfaceInfos:
8283
description: InterfaceInfos describes all of the network container
8384
goal state for this Pod
@@ -122,6 +123,8 @@ spec:
122123
primaryIP:
123124
description: Deprecated - use InterfaceInfos
124125
type: string
126+
required:
127+
- defaultDenyACL
125128
type: object
126129
type: object
127130
served: true

crd/multitenancy/manifests/multitenancy.acn.azure.com_podnetworkinstances.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ spec:
5353
spec:
5454
description: PodNetworkInstanceSpec defines the desired state of PodNetworkInstance
5555
properties:
56+
defaultDenyACL:
57+
default: false
58+
description: DefaultDenyAcl bool indicates whether default deny policy
59+
will be present on the pods upon pod creation
60+
type: boolean
5661
podIPReservationSize:
5762
default: 0
5863
description: Deprecated - use PodNetworks
5964
type: integer
60-
defaultDenyACL:
61-
default: false
62-
description: indicates whether default deny policy will be present on the pods upon pod creation
63-
type: boolean
6465
podNetworkConfigs:
6566
description: |-
6667
PodNetworkConfigs describes each PodNetwork to attach to a single Pod
@@ -84,6 +85,8 @@ spec:
8485
podnetwork:
8586
description: Deprecated - use PodNetworks
8687
type: string
88+
required:
89+
- defaultDenyACL
8790
type: object
8891
status:
8992
description: PodNetworkInstanceStatus defines the observed state of PodNetworkInstance

0 commit comments

Comments
 (0)