...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/compute_v1beta1_computevpntunnel.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector ComputeVPNTunnel
     2markdownDescription: Creates yaml for a ComputeVPNTunnel resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeVPNTunnel
     6  metadata:
     7    labels:
     8      \${1:foo}: \${2:bar}
     9    name: \${3:computevpntunnel-name}
    10  spec:
    11    peerIp: \${4:15.0.0.120}
    12    region: \${5:us-central1}
    13    sharedSecret:
    14      valueFrom:
    15        secretKeyRef:
    16          name: \${6:computevpntunnel-dep}
    17          key: \${7:sharedSecret}
    18    targetVPNGatewayRef:
    19      name: \${8:computevpntunnel-dep}
    20    localTrafficSelector:
    21    - \${9:192.168.0.0/16}

View as plain text