...

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

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

     1label: Config Connector PubSubTopic
     2markdownDescription: Creates yaml for a PubSubTopic resource
     3insertText: |
     4  apiVersion: pubsub.cnrm.cloud.google.com/v1beta1
     5  kind: PubSubTopic
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:pubsubtopic-name}
    10  spec:
    11    schemaSettings:
    12      schemaRef:
    13        name: \${4:pubsubtopic-dep}
    14      encoding: \${5:JSON}

View as plain text