Snat is the Schema for the Snats API. Configure customized SNAT policies for an Aviatrix gateway
Type
CRD
Group
gateway.aviatrix.upbound.io
Version
v1alpha1
apiVersion: gateway.aviatrix.upbound.io/v1alpha1
kind: Snat
SnatSpec defines the desired state of Snat
No description provided.
Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8). Policy rules applied for 'snat_mode” of 'customized_snat'.'
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
SnatStatus defines the observed state of Snat.
No description provided.
Computed attribute to store the previous connection policy.
Computed attribute to store the previous interface policy.
Conditions of the resource.
test-spoke-gateway-aws
apiVersion: gateway.aviatrix.upbound.io/v1alpha1
kind: Snat
metadata:
annotations:
meta.upbound.io/example-id: gateway/v1alpha1/snat
labels:
testing.upbound.io/example-name: test_snat
name: test-spoke-gateway-aws
spec:
forProvider:
snatMode: customized_snat
snatPolicy:
- connection: None
dstCidr: 14.0.0.0/16
dstPort: "222"
excludeRtb: ""
interface: eth0
mark: "65536"
protocol: tcp
snatIps: 175.32.12.12
snatPort: "12"
srcCidr: 13.0.0.0/16
srcPort: "22"