Skip to content

Commit 03fa40d

Browse files
authored
Merge pull request #39966 from bergerhoffer/github-39602
GitHub-39602: Putting command all on one line
2 parents ba323e7 + c6570e1 commit 03fa40d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

modules/ldap-auto-syncing.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ metadata:
115115
name: ldap-group-syncer
116116
namespace: ldap-sync
117117
data:
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
168168
metadata:
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

0 commit comments

Comments
 (0)