apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: jenkins.k8s-reboot-coordinator labels: app.kubernetes.io/name: jenkins.k8s-reboot-coordinator app.kubernetes.io/component: k8s-reboot-coordinator app.kubernetes.io/part-of: k8s-reboot-coordinator rules: - apiGroups: - apps resources: - daemonsets resourceNames: - k8s-reboot-coordinator verbs: - get - patch --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: jenkins.k8s-reboot-coordinator labels: app.kubernetes.io/name: jenkins.k8s-reboot-coordinator app.kubernetes.io/component: k8s-reboot-coordinator app.kubernetes.io/part-of: k8s-reboot-coordinator roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: jenkins.k8s-reboot-coordinator subjects: - kind: ServiceAccount name: default namespace: jenkins-jobs