File tree Expand file tree Collapse file tree 1 file changed +3
-24
lines changed
example/kubernetes/using-secrets 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 :
@@ -31,32 +29,13 @@ spec:
3129 ports :
3230 - containerPort : 389
3331 name : openldap
34- - name : ldap-backup
35- image : osixia/openldap-backup:0.1.11
36- volumeMounts :
37- - name : ldap-data
38- mountPath : /var/lib/ldap
39- - name : ldap-config
40- mountPath : /etc/ldap/slapd.d
41- - name : ldap-backup
42- mountPath : /data/backup
43- env :
44- - name : LDAP_BACKUP_CONFIG_CRON_EXP
45- value : " 15 1 * * *"
46- - name : LDAP_BACKUP_DATA_CRON_EXP
47- value : " 20 1 * * *"
48- - name : LDAP_BACKUP_TTL
49- value : " 15"
5032 volumes :
5133 - name : ldap-data
5234 hostPath :
5335 path : " /data/ldap/db"
5436 - name : ldap-config
5537 hostPath :
5638 path : " /data/ldap/config"
57- - name : ldap-backup
58- hostPath :
59- path : " /data/ldap/backup"
6039 - name : ldap-certs
6140 hostPath :
6241 path : " /data/ldap/certs"
You can’t perform that action at this time.
0 commit comments