mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-21 12:41:27 +00:00
Add job-config mount and argument to Prow deployments
This commit is contained in:
parent
3b19040cfd
commit
b303e3ffbd
@ -30,6 +30,7 @@ spec:
|
||||
args:
|
||||
- --dry-run=false
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --github-endpoint=http://ghproxy
|
||||
- --github-endpoint=https://api.github.com
|
||||
- --github-app-id=$(GITHUB_APP_ID)
|
||||
@ -53,6 +54,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
- name: plugins
|
||||
mountPath: /etc/plugins
|
||||
readOnly: true
|
||||
@ -79,6 +83,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
- name: plugins
|
||||
configMap:
|
||||
name: plugins
|
||||
@ -106,15 +113,22 @@ spec:
|
||||
image: gcr.io/k8s-prow/sinker:v20221028-a8625c1f93
|
||||
args:
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --dry-run=false
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@ -145,6 +159,7 @@ spec:
|
||||
image: gcr.io/k8s-prow/deck:v20221028-a8625c1f93
|
||||
args:
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --plugin-config=/etc/plugins/plugins.yaml
|
||||
- --tide-url=http://tide/
|
||||
- --hook-url=http://hook:8888/plugin-help
|
||||
@ -168,6 +183,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
- name: github-token
|
||||
mountPath: /etc/github
|
||||
readOnly: true
|
||||
@ -194,6 +212,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
- name: github-token
|
||||
secret:
|
||||
secretName: github-token
|
||||
@ -231,14 +252,21 @@ spec:
|
||||
args:
|
||||
- --dry-run=false
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@ -266,6 +294,7 @@ spec:
|
||||
args:
|
||||
- --dry-run=false
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --github-endpoint=http://ghproxy
|
||||
- --github-endpoint=https://api.github.com
|
||||
- --github-graphql-endpoint=http://ghproxy/graphql
|
||||
@ -290,6 +319,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
- name: s3-credentials
|
||||
mountPath: /etc/s3-credentials
|
||||
readOnly: true
|
||||
@ -300,6 +332,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
- name: s3-credentials
|
||||
secret:
|
||||
secretName: s3-credentials
|
||||
@ -331,6 +366,7 @@ spec:
|
||||
- --continue-on-error=true
|
||||
- --plugin-config=/etc/plugins/plugins.yaml
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --github-endpoint=http://ghproxy
|
||||
- --github-endpoint=https://api.github.com
|
||||
- --s3-credentials-file=/etc/s3-credentials/service-account.json
|
||||
@ -350,6 +386,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
- name: plugins
|
||||
mountPath: /etc/plugins
|
||||
readOnly: true
|
||||
@ -363,6 +402,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
- name: plugins
|
||||
configMap:
|
||||
name: plugins
|
||||
@ -430,6 +472,7 @@ spec:
|
||||
args:
|
||||
- --dry-run=false
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --github-endpoint=http://ghproxy
|
||||
- --github-endpoint=https://api.github.com
|
||||
- --enable-controller=plank
|
||||
@ -449,6 +492,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: github-token
|
||||
secret:
|
||||
@ -456,6 +502,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@ -482,6 +531,7 @@ spec:
|
||||
args:
|
||||
- --blob-storage-workers=10
|
||||
- --config-path=/etc/config/config.yaml
|
||||
- --job-config-path=/etc/job-config
|
||||
- --s3-credentials-file=/etc/s3-credentials/service-account.json
|
||||
- --github-endpoint=http://ghproxy
|
||||
- --github-endpoint=https://api.github.com
|
||||
@ -499,6 +549,9 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/config
|
||||
readOnly: true
|
||||
- name: job-config
|
||||
mountPath: /etc/job-config
|
||||
readOnly: true
|
||||
- name: github-token
|
||||
mountPath: /etc/github
|
||||
readOnly: true
|
||||
@ -509,6 +562,9 @@ spec:
|
||||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: job-config
|
||||
configMap:
|
||||
name: job-config
|
||||
- name: github-token
|
||||
secret:
|
||||
secretName: github-token
|
||||
|
Loading…
Reference in New Issue
Block a user