mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Merge pull request #40831 from openshift-cherrypick-robot/cherry-pick-39966-to-enterprise-4.10
[enterprise-4.10] GitHub-39602: Putting command all on one line
This commit is contained in:
@@ -115,7 +115,7 @@ metadata:
|
||||
name: ldap-group-syncer
|
||||
namespace: ldap-sync
|
||||
data:
|
||||
ldap-group-sync.yaml: | <1>
|
||||
sync.yaml: | <1>
|
||||
kind: LDAPSyncConfig
|
||||
apiVersion: v1
|
||||
url: ldaps://10.0.0.0:389 <2>
|
||||
@@ -168,8 +168,8 @@ apiVersion: batch/v1
|
||||
metadata:
|
||||
name: ldap-group-syncer
|
||||
namespace: ldap-sync
|
||||
spec: <1>
|
||||
schedule: "*/30 * * * *" <2>
|
||||
spec: <1>
|
||||
schedule: "*/30 * * * *" <2>
|
||||
concurrencyPolicy: Forbid
|
||||
jobTemplate:
|
||||
spec:
|
||||
@@ -182,8 +182,7 @@ spec: <1>
|
||||
command:
|
||||
- "/bin/bash"
|
||||
- "-c"
|
||||
- oc adm groups sync
|
||||
- --sync-config=/etc/config/ldap-group-sync.yaml --confirm <3>
|
||||
- "oc adm groups sync --sync-config=/etc/config/sync.yaml --confirm" <3>
|
||||
volumeMounts:
|
||||
- mountPath: "/etc/config"
|
||||
name: "ldap-sync-volume"
|
||||
@@ -197,10 +196,10 @@ spec: <1>
|
||||
name: "ldap-group-syncer"
|
||||
- name: "ldap-bind-password"
|
||||
secret:
|
||||
secretName: "ldap-secret" <4>
|
||||
secretName: "ldap-secret" <4>
|
||||
- name: "ldap-ca"
|
||||
configMap:
|
||||
name: "ca-config-map" <5>
|
||||
name: "ca-config-map" <5>
|
||||
restartPolicy: "Never"
|
||||
terminationGracePeriodSeconds: 30
|
||||
activeDeadlineSeconds: 500
|
||||
|
||||
Reference in New Issue
Block a user