Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ type MultitenantPodNetworkConfigStatus struct {
// InterfaceInfos describes all of the network container goal state for this Pod
// +kubebuilder:validation:Optional
InterfaceInfos []InterfaceInfo `json:"interfaceInfos,omitempty"`
// DefaultDenyACL bool indicates whether default deny policy will be present on the pods upon pod creation
// +kubebuilder:validation:Optional
DefaultDenyACL bool `json:"defaultDenyACL"`
}

func init() {
Expand Down
4 changes: 4 additions & 0 deletions crd/multitenancy/api/v1alpha1/podnetworkinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ type PodNetworkInstanceSpec struct {
// optional for now in case orchestrator uses the deprecated fields
// +kubebuilder:validation:Optional
PodNetworkConfigs []PodNetworkConfig `json:"podNetworkConfigs"`
// DefaultDenyACL bool indicates whether default deny policy will be present on the pods upon pod creation
// +kubebuilder:default=false
// +kubebuilder:validation:Optional
DefaultDenyACL bool `json:"defaultDenyACL"`
}

// PodNetworkInstanceStatus defines the observed state of PodNetworkInstance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
description: MultitenantPodNetworkConfigStatus defines the observed state
of PodNetworkConfig
properties:
defaultDenyACL:
description: DefaultDenyACL bool indicates whether default deny policy
will be present on the pods upon pod creation
type: boolean
gatewayIP:
description: Deprecated - use InterfaceInfos
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ spec:
spec:
description: PodNetworkInstanceSpec defines the desired state of PodNetworkInstance
properties:
defaultDenyACL:
default: false
description: DefaultDenyACL bool indicates whether default deny policy
will be present on the pods upon pod creation
type: boolean
podIPReservationSize:
default: 0
description: Deprecated - use PodNetworks
Expand Down
Loading