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