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:
2024-01-22 16:59:53 -06:00
parent 990204b2cf
commit a7450a8af2

View File

@@ -131,6 +131,6 @@ roleRef:
kind: Role
name: jenkins
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: jenkins
- kind: ServiceAccount
name: default
namespace: jenkins-jobs