File tree Expand file tree Collapse file tree 1 file changed +3
-24
lines changed
example/kubernetes/simple Expand file tree Collapse file tree 1 file changed +3
-24
lines changed Original file line number Diff line number Diff line change 1- apiVersion : v1
2- kind : ReplicationController
1+ apiVersion : extensions/v1beta1
2+ kind : Deployment
33metadata :
4- name : ldap-controller
4+ name : ldap
55 labels :
66 app : ldap
77spec :
88 replicas : 1
9- selector :
10- app : ldap
119 template :
1210 metadata :
1311 labels :
@@ -71,32 +69,13 @@ spec:
7169 value : " true"
7270 - name : LDAP_SSL_HELPER_PREFIX
7371 value : " ldap"
74- - name : ldap-backup
75- image : osixia/openldap-backup:0.1.11
76- volumeMounts :
77- - name : ldap-data
78- mountPath : /var/lib/ldap
79- - name : ldap-config
80- mountPath : /etc/ldap/slapd.d
81- - name : ldap-backup
82- mountPath : /data/backup
83- env :
84- - name : LDAP_BACKUP_CONFIG_CRON_EXP
85- value : " 15 1 * * *"
86- - name : LDAP_BACKUP_DATA_CRON_EXP
87- value : " 20 1 * * *"
88- - name : LDAP_BACKUP_TTL
89- value : " 15"
9072 volumes :
9173 - name : ldap-data
9274 hostPath :
9375 path : " /data/ldap/db"
9476 - name : ldap-config
9577 hostPath :
9678 path : " /data/ldap/config"
97- - name : ldap-backup
98- hostPath :
99- path : " /data/ldap/backup"
10079 - name : ldap-certs
10180 hostPath :
10281 path : " /data/ldap/certs"
You can’t perform that action at this time.
0 commit comments