...

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

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

     1label: Config Connector ComputeDisk
     2markdownDescription: Creates yaml for a ComputeDisk resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeDisk
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:computedisk-name}
    10  spec:
    11    description: \${4:a sample encrypted, blank disk}
    12    diskEncryptionKey:
    13      rawKey:
    14        valueFrom:
    15          secretKeyRef:
    16            name: \${5:computedisk-dep-zonal}
    17            key: \${6:sharedSecret}
    18    physicalBlockSizeBytes: \${7:4096}
    19    size: \${8:1}
    20    type: \${9:pd-ssd}
    21    location: \${10:us-west1-c}

View as plain text