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:
115
115
name: ldap-group-syncer
116
116
namespace: ldap-sync
117
117
data:
118
- ldap-group- sync.yaml: | <1>
118
+ sync.yaml: | <1>
119
119
kind: LDAPSyncConfig
120
120
apiVersion: v1
121
121
url: ldaps://10.0.0.0:389 <2>
@@ -168,8 +168,8 @@ apiVersion: batch/v1
168
168
metadata:
169
169
name: ldap-group-syncer
170
170
namespace: ldap-sync
171
- spec: <1>
172
- schedule: "*/30 * * * *" <2>
171
+ spec: <1>
172
+ schedule: "*/30 * * * *" <2>
173
173
concurrencyPolicy: Forbid
174
174
jobTemplate:
175
175
spec:
@@ -182,8 +182,7 @@ spec: <1>
182
182
command:
183
183
- "/bin/bash"
184
184
- "-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>
187
186
volumeMounts:
188
187
- mountPath: "/etc/config"
189
188
name: "ldap-sync-volume"
@@ -197,10 +196,10 @@ spec: <1>
197
196
name: "ldap-group-syncer"
198
197
- name: "ldap-bind-password"
199
198
secret:
200
- secretName: "ldap-secret" <4>
199
+ secretName: "ldap-secret" <4>
201
200
- name: "ldap-ca"
202
201
configMap:
203
- name: "ca-config-map" <5>
202
+ name: "ca-config-map" <5>
204
203
restartPolicy: "Never"
205
204
terminationGracePeriodSeconds: 30
206
205
activeDeadlineSeconds: 500
You can’t perform that action at this time.
0 commit comments