...

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

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

     1label: Config Connector ComputeImage
     2markdownDescription: Creates yaml for a ComputeImage resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeImage
     6  metadata:
     7    labels:
     8      \${1:image-type}: \${2:stemcell}
     9    name: \${3:computeimage-name}
    10  spec:
    11    description: \${4:A sample image created from URL to a raw TAR disk image}
    12    family: \${5:ubuntu-custom}
    13    licenses:
    14    - \${6:https://compute.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx}
    15    rawDisk:
    16      source: \${7:https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz}
    17      containerType: \${8:TAR}
    18      sha1: \${9:819b7e9c17423f4539f09687eaa13687afa2fe32}

View as plain text