File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ metadata:
115115 name: ldap-group-syncer
116116 namespace: ldap-sync
117117data:
118- ldap-group- sync.yaml: | <1>
118+ sync.yaml: | <1>
119119 kind: LDAPSyncConfig
120120 apiVersion: v1
121121 url: ldaps://10.0.0.0:389 <2>
@@ -168,8 +168,8 @@ apiVersion: batch/v1
168168metadata:
169169 name: ldap-group-syncer
170170 namespace: ldap-sync
171- spec: <1>
172- schedule: "*/30 * * * *" <2>
171+ spec: <1>
172+ schedule: "*/30 * * * *" <2>
173173 concurrencyPolicy: Forbid
174174 jobTemplate:
175175 spec:
@@ -182,8 +182,7 @@ spec: <1>
182182 command:
183183 - "/bin/bash"
184184 - "-c"
185- - oc adm groups sync
186- - --sync-config=/etc/config/ldap-group-sync.yaml --confirm <3>
185+ - "oc adm groups sync --sync-config=/etc/config/sync.yaml --confirm" <3>
187186 volumeMounts:
188187 - mountPath: "/etc/config"
189188 name: "ldap-sync-volume"
@@ -197,10 +196,10 @@ spec: <1>
197196 name: "ldap-group-syncer"
198197 - name: "ldap-bind-password"
199198 secret:
200- secretName: "ldap-secret" <4>
199+ secretName: "ldap-secret" <4>
201200 - name: "ldap-ca"
202201 configMap:
203- name: "ca-config-map" <5>
202+ name: "ca-config-map" <5>
204203 restartPolicy: "Never"
205204 terminationGracePeriodSeconds: 30
206205 activeDeadlineSeconds: 500
You can’t perform that action at this time.
0 commit comments