...

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

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

     1label: Config Connector ComputeSubnetwork
     2markdownDescription: Creates yaml for a ComputeSubnetwork resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeSubnetwork
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:computesubnetwork-name}
    10  spec:
    11    ipCidrRange: \${4:10.2.0.0/16}
    12    region: \${5:us-central1}
    13    description: \${6:My subnet}
    14    privateIpGoogleAccess: \${7:false}
    15    networkRef:
    16      name: \${8:computesubnetwork-dep}
    17    logConfig:
    18      aggregationInterval: \${9:INTERVAL_10_MIN}
    19      flowSampling: \${10:0.5}
    20      metadata: \${11:INCLUDE_ALL_METADATA}

View as plain text