Skip to content

Commit 74fc654

Browse files
committed
Add annotation to disable source mac validation per pod base
1 parent 66f44aa commit 74fc654

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crd/apis/network/v1/annotations.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ const (
1212
DisableSourceIPValidationAnnotationKey = "networking.gke.io/disable-source-ip-validation"
1313
// DisableSourceValidationAnnotationValTrue is the value to disable source IP validation for the pod.
1414
DisableSourceIPValidationAnnotationValTrue = "true"
15+
// DisableSourceMACValidationAnnotationKey is the annotation on pod to disable source MAC validation on L2 interfaces.
16+
DisableSourceMACValidationAnnotationKey = "networking.gke.io/disable-source-mac-validation"
17+
// DisableSourceMACValidationAnnotationValTrue is the value to disable source MAC validation for the pod.
18+
DisableSourceMACValidationAnnotationValTrue = "true"
1519
// EnableMulticastAnnotationKey is the annotation on pod to enable multicast on L2 interfaces.
1620
// It's also used to enable IGMP protocol for L2 interfaces.
1721
EnableMulticastAnnotationKey = "networking.gke.io/enable-multicast"

0 commit comments

Comments
 (0)