...

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

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

     1label: Config Connector CloudFunctionsFunction
     2markdownDescription: Creates yaml for a CloudFunctionsFunction resource
     3insertText: |
     4  apiVersion: cloudfunctions.cnrm.cloud.google.com/v1beta1
     5  kind: CloudFunctionsFunction
     6  metadata:
     7    name: \${1:cloudfunctionsfunction-name}
     8  spec:
     9    projectRef:
    10      external: \${2:projects/[PROJECT_ID?]}
    11    region: \${3:us-west2}
    12    runtime: \${4:nodejs8}
    13    sourceArchiveUrl: \${5:gs://config-connector-samples/cloudfunctionsfunction/http_trigger.zip}
    14    entryPoint: \${6:helloGET}
    15    httpsTrigger:
    16      securityLevel: \${7:SECURE_OPTIONAL}

View as plain text