Skip to content

Commit d17946a

Browse files
authored
Merge pull request #8485 from zalando-incubator/fix-role-sync-cronjob
Improvements to role-sync-controller cronjob
2 parents 4e0fc16 + 8190399 commit d17946a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cluster/manifests/role-sync-controller/cronjob.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,19 @@ metadata:
1010
spec:
1111
schedule: "*/1 * * * *"
1212
jobTemplate:
13+
metadata:
14+
labels:
15+
application: kubernetes
16+
component: role-sync-controller
1317
spec:
1418
backoffLimit: 3
1519
template:
20+
metadata:
21+
labels:
22+
application: kubernetes
23+
component: role-sync-controller
1624
spec:
25+
serviceAccountName: role-sync-controller
1726
restartPolicy: OnFailure
1827
containers:
1928
- name: role-sync-controller

0 commit comments

Comments
 (0)