...

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

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

     1label: Config Connector ComputeSnapshot
     2markdownDescription: Creates yaml for a ComputeSnapshot resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeSnapshot
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:computesnapshot-name}
    10  spec:
    11    description: \${4:ComputeSnapshot Sample}
    12    zone: \${5:us-west1-c}
    13    sourceDiskRef:
    14      name: \${6:computesnapshot-dep}
    15    snapshotEncryptionKey:
    16      rawKey:
    17        valueFrom:
    18          secretKeyRef:
    19            name: \${7:computesnapshot-dep}
    20            key: \${8:snapshotEncryptionKey}
    21    sourceDiskEncryptionKey:
    22      rawKey:
    23        valueFrom:
    24          secretKeyRef:
    25            name: \${9:computesnapshot-dep}
    26            key: \${10:sourceDiskEncryptionKey}

View as plain text