kitchen: Fix Jenkins deployment role
Since Jenkins jobs run in Kubernetes now, they can authenticate to the Kubernetes API using a ServiceAccount and do not need a dedicated User.dch-webhooks-secrets
parent
990204b2cf
commit
a7450a8af2
|
@ -131,6 +131,6 @@ roleRef:
|
||||||
kind: Role
|
kind: Role
|
||||||
name: jenkins
|
name: jenkins
|
||||||
subjects:
|
subjects:
|
||||||
- apiGroup: rbac.authorization.k8s.io
|
- kind: ServiceAccount
|
||||||
kind: User
|
name: default
|
||||||
name: jenkins
|
namespace: jenkins-jobs
|
||||||
|
|
Loading…
Reference in New Issue