Description
What would you like to be added:
To support calico's "CrossSubnet" mode on gardener clusters for provider type aws
the src and dst checks (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck) have to be disabled on machine network interface level. Therefore I would like to expose a field in the awsmachineclass
(https://github.com/gardener/machine-controller-manager/blob/master/pkg/apis/machine/v1alpha1/aws_machineclass_types.go#L179) which contains a boolean value which describes if the src/dst checks on the interface level of the machines are enabled or disabled.
I would suggest something like
// Describes a network interface.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MachineAWSNetworkInterfaceSpecification
type AWSNetworkInterfaceSpec struct {
// If set to false, source and destination checks are disabled, default is true
SrcAndDstChecksEnabled: bool `json:"srcAndDstChecksEnabled,omitempty"`
}
WDYT?
/cc: @zanetworker
Activity