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