...

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

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

     1label: Config Connector ComputeRouter
     2markdownDescription: Creates yaml for a ComputeRouter resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeRouter
     6  metadata:
     7    name: \${1:computerouter-name}
     8  spec:
     9    networkRef:
    10      name: \${2:computerouter-dep}
    11    description: \${3:example router description}
    12    region: \${4:us-west1}
    13    bgp:
    14      asn: \${5:64514}
    15      advertiseMode: \${6:CUSTOM}
    16      advertisedGroups:
    17      - \${7:ALL_SUBNETS}
    18      advertisedIpRanges:
    19      - range: \${8:1.2.3.4}

View as plain text