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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user