golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/watchflakes/deployment-prod.yaml (about) 1 # Copyright 2024 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 namespace: prod 9 name: watchflakes-deployment 10 spec: 11 replicas: 1 # more than 1 might cause duplicate GitHub comments 12 selector: 13 matchLabels: 14 app: watchflakes 15 template: 16 metadata: 17 labels: 18 app: watchflakes 19 spec: 20 serviceAccountName: watchflakes 21 containers: 22 - name: watchflakes 23 image: gcr.io/symbolic-datum-552/watchflakes:latest 24 imagePullPolicy: Always 25 command: ["/watchflakes", "-use-secret-manager", "-repeat=1h", "-post"] 26 resources: 27 requests: 28 cpu: "1" 29 memory: "2Gi" 30 limits: 31 cpu: "2" 32 memory: "4Gi" 33 --- 34 apiVersion: v1 35 kind: ServiceAccount 36 metadata: 37 namespace: prod 38 name: watchflakes 39 annotations: 40 iam.gke.io/gcp-service-account: watchflakes@symbolic-datum-552.iam.gserviceaccount.com