github.com/abayer/test-infra@v0.0.5/prow/cluster/deck_deployment.yaml (about) 1 # Copyright 2016 The Kubernetes Authors All rights reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 apiVersion: extensions/v1beta1 16 kind: Deployment 17 metadata: 18 name: deck 19 labels: 20 app: deck 21 spec: 22 replicas: 3 23 strategy: 24 type: RollingUpdate 25 rollingUpdate: 26 maxSurge: 1 27 maxUnavailable: 1 28 template: 29 metadata: 30 labels: 31 app: deck 32 spec: 33 # serviceAccountName: "deck" # Uncomment for use with RBAC 34 terminationGracePeriodSeconds: 30 35 containers: 36 - name: deck 37 image: gcr.io/k8s-prow/deck:v20180723-3632407bc 38 imagePullPolicy: Always 39 ports: 40 - name: http 41 containerPort: 8080 42 args: 43 - --build-cluster=/etc/cluster/cluster 44 - --tide-url=http://tide/ 45 - --hook-url=http://hook:8888/plugin-help 46 - --redirect-http-to=prow.k8s.io 47 - --oauth-url=/github-login 48 - --job-config-path=/etc/job-config 49 volumeMounts: 50 - name: oauth-config 51 mountPath: /etc/github 52 readOnly: true 53 - name: cookie-secret 54 mountPath: /etc/cookie 55 readOnly: true 56 - mountPath: /etc/cluster 57 name: cluster 58 readOnly: true 59 - name: config 60 mountPath: /etc/config 61 readOnly: true 62 - name: job-config 63 mountPath: /etc/job-config 64 readOnly: true 65 volumes: 66 - name: oauth-config 67 secret: 68 secretName: github-oauth-config 69 - name: cookie-secret 70 secret: 71 secretName: cookie 72 - name: cluster 73 secret: 74 defaultMode: 420 75 secretName: build-cluster 76 - name: config 77 configMap: 78 name: config 79 - name: job-config 80 configMap: 81 name: job-config