...
1label: Config Connector RunService
2markdownDescription: Creates yaml for a RunService resource
3insertText: |
4 apiVersion: run.cnrm.cloud.google.com/v1beta1
5 kind: RunService
6 metadata:
7 name: \${1:runservice-name}
8 spec:
9 ingress: \${2:INGRESS_TRAFFIC_ALL}
10 launchStage: \${3:GA}
11 location: \${4:us-central1}
12 projectRef:
13 external: \${5:projects/[PROJECT_ID?]}
14 template:
15 containers:
16 - env:
17 - name: \${6:FOO}
18 value: \${7:bar]}
19 image: \${8:gcr.io/cloudrun/hello}
20 scaling:
21 maxInstanceCount: \${9:2}
22 traffic:
23 - percent: \${10:100}
24 type: \${11:TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST}
View as plain text