...

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

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

     1label: Config Connector LoggingLogSink
     2markdownDescription: Creates yaml for a LoggingLogSink resource
     3insertText: |
     4  apiVersion: logging.cnrm.cloud.google.com/v1beta1
     5  kind: LoggingLogSink
     6  metadata:
     7    name: \${1:logginglogsink-name}
     8  spec:
     9    projectRef:
    10      name: \${2:logginglogsink-dep-project}
    11    uniqueWriterIdentity: \${3:true}
    12    destination:
    13      pubSubTopicRef:
    14        name: \${4:logginglogsink-dep-project}
    15    filter: \${5:resource.type="bigquery_project" AND logName:"cloudaudit.googleapis.com"}

View as plain text