File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
manifests/role-sync-controller Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1155,3 +1155,6 @@ sysctl_settings: ""
1155
1155
# scheduling_controls
1156
1156
teapot_admission_controller_scheduling_controls_enabled : " false"
1157
1157
teapot_admission_controller_scheduling_controls_default_architecture : " amd64"
1158
+
1159
+ # role-sync-controller configs
1160
+ role_sync_controller_enabled : " false"
Original file line number Diff line number Diff line change
1
+ {{ if .Cluster.ConfigItems.role_sync_controller_enabled "true" }}
2
+ apiVersion : batch/v1
3
+ kind : CronJob
4
+ metadata :
5
+ name : role-sync-controller
6
+ labels :
7
+ application : kubernetes
8
+ component : role-sync-controller
9
+ spec :
10
+ schedule : " */1 * * * *"
11
+ jobTemplate :
12
+ spec :
13
+ backoffLimit : 3
14
+ template :
15
+ spec :
16
+ restartPolicy : OnFailure
17
+ containers :
18
+ - name : role-sync-controller
19
+ image : container-registry.zalando.net/teapot/role-sync-controller:main-1
20
+ imagePullPolicy : IfNotPresent
21
+ {{ end }}
You can’t perform that action at this time.
0 commit comments