golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/securitybot/deployment.yaml (about) 1 # Copyright 2022 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 apiVersion: apps/v1 6 kind: Deployment 7 metadata: 8 name: security-trybots 9 spec: 10 selector: 11 matchLabels: 12 app: security-trybots 13 strategy: 14 type: Recreate 15 template: 16 metadata: 17 labels: 18 app: security-trybots 19 spec: 20 serviceAccountName: security-trybots 21 containers: 22 - name: security-trybots 23 image: gcr.io/go-security-trybots/security-trybots:latest 24 imagePullPolicy: Always 25 command: 26 - "/usr/bin/tini" 27 - "--" 28 - "./securitybot" 29 - "-gcs=stb-logs" 30 resources: 31 requests: 32 cpu: "2" 33 memory: "4Gi" 34 --- 35 apiVersion: v1 36 kind: ServiceAccount 37 metadata: 38 name: security-trybots 39 annotations: 40 iam.gke.io/gcp-service-account: security-trybots@go-security-trybots.iam.gserviceaccount.com