k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/prow/cluster/statusreconciler_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: apps/v1 16 kind: Deployment 17 metadata: 18 namespace: default 19 name: statusreconciler 20 labels: 21 app: statusreconciler 22 spec: 23 replicas: 1 24 selector: 25 matchLabels: 26 app: statusreconciler 27 template: 28 metadata: 29 labels: 30 app: statusreconciler 31 spec: 32 serviceAccountName: statusreconciler 33 terminationGracePeriodSeconds: 180 34 containers: 35 - name: statusreconciler 36 image: gcr.io/k8s-prow/status-reconciler:v20240517-ea10bd814 37 imagePullPolicy: Always 38 args: 39 - --dry-run=false 40 - --continue-on-error=true 41 - --plugin-config=/etc/plugins/plugins.yaml 42 - --config-path=/etc/config/config.yaml 43 - --github-token-path=/etc/github/oauth 44 - --github-endpoint=http://ghproxy 45 - --github-endpoint=https://api.github.com 46 - --job-config-path=/etc/job-config 47 - --denylist=kubernetes/kubernetes 48 volumeMounts: 49 - name: oauth 50 mountPath: /etc/github 51 readOnly: true 52 - name: config 53 mountPath: /etc/config 54 readOnly: true 55 - name: job-config 56 mountPath: /etc/job-config 57 readOnly: true 58 - name: plugins 59 mountPath: /etc/plugins 60 readOnly: true 61 volumes: 62 - name: oauth 63 secret: 64 secretName: oauth-token 65 - name: config 66 configMap: 67 name: config 68 - name: job-config 69 configMap: 70 name: job-config 71 - name: plugins 72 configMap: 73 name: plugins