...

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

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

     1label: Config Connector NetworkConnectivitySpoke
     2markdownDescription: Creates yaml for a NetworkConnectivitySpoke resource
     3insertText: |
     4  apiVersion: networkconnectivity.cnrm.cloud.google.com/v1beta1
     5  kind: NetworkConnectivitySpoke
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:networkconnectivityspoke-name}
    10  spec:
    11    location: \${4:us-central1}
    12    description: \${5:A sample spoke with a linked router appliance instance}
    13    hubRef:
    14      name: \${6:networkconnectivityspoke-dep}
    15    linkedRouterApplianceInstances:
    16      instances:
    17      - virtualMachineRef:
    18          name: \${7:networkconnectivityspoke-dep}
    19        ipAddress: \${8:10.0.0.2}
    20      siteToSiteDataTransfer: \${9:true}

View as plain text