File tree Expand file tree Collapse file tree 5 files changed +20
-9
lines changed
templates/placementapi/config
tests/placement_deploy_tls Expand file tree Collapse file tree 5 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ func getVolumeMounts(serviceName string) []corev1.VolumeMount {
6868 },
6969 {
7070 Name : "config-data" ,
71- MountPath : "/var/lib/config-data/merged " ,
71+ MountPath : "/var/lib/openstack/config " ,
7272 ReadOnly : false ,
7373 },
7474 {
Original file line number Diff line number Diff line change 22 "command" : " /usr/sbin/httpd -DFOREGROUND" ,
33 "config_files" : [
44 {
5- "source" : " /var/lib/config-data/merged /placement.conf" ,
5+ "source" : " /var/lib/openstack/config /placement.conf" ,
66 "dest" : " /etc/placement/placement.conf" ,
77 "owner" : " placement" ,
88 "perm" : " 0600"
99 },
1010 {
11- "source" : " /var/lib/config-data/merged /httpd.conf" ,
11+ "source" : " /var/lib/openstack/config /httpd.conf" ,
1212 "dest" : " /etc/httpd/conf/httpd.conf" ,
1313 "owner" : " apache" ,
1414 "perm" : " 0644"
1515 },
1616 {
17- "source" : " /var/lib/config-data/merged /custom.conf" ,
17+ "source" : " /var/lib/openstack/config /custom.conf" ,
1818 "dest" : " /etc/placement/placement.conf.d/custom.conf" ,
1919 "owner" : " placement" ,
2020 "perm" : " 0600"
2121 },
2222 {
23- "source" : " /var/lib/config-data/merged /ssl.conf" ,
23+ "source" : " /var/lib/openstack/config /ssl.conf" ,
2424 "dest" : " /etc/httpd/conf.d/ssl.conf" ,
2525 "owner" : " apache" ,
2626 "perm" : " 0644"
Original file line number Diff line number Diff line change 22 "command" : " placement-manage db sync" ,
33 "config_files" : [
44 {
5- "source" : " /var/lib/config-data/merged /placement.conf" ,
5+ "source" : " /var/lib/openstack/config /placement.conf" ,
66 "dest" : " /etc/placement/placement.conf" ,
77 "owner" : " placement" ,
88 "perm" : " 0600"
99 },
1010 {
11- "source" : " /var/lib/config-data/merged /custom.conf" ,
11+ "source" : " /var/lib/openstack/config /custom.conf" ,
1212 "dest" : " /etc/placement/placement.conf.d/custom.conf" ,
1313 "owner" : " placement" ,
1414 "perm" : " 0600"
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ spec:
144144 readOnly : true
145145 - mountPath : /var/log/placement
146146 name : logs
147- - mountPath : /var/lib/config-data/merged
147+ - mountPath : /var/lib/openstack/config
148148 name : config-data
149149 - mountPath : /var/lib/kolla/config_files/config.json
150150 name : config-data
@@ -186,6 +186,17 @@ status:
186186 availableReplicas : 1
187187 replicas : 1
188188---
189+ # the openshift annotations can't be checked through the deployment above
190+ apiVersion : v1
191+ kind : Pod
192+ metadata :
193+ annotations :
194+ openshift.io/scc : anyuid
195+ labels :
196+ service : placement
197+ status :
198+ phase : Running
199+ ---
189200apiVersion : v1
190201kind : Service
191202metadata :
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ spec:
151151 readOnly : true
152152 - mountPath : /var/log/placement
153153 name : logs
154- - mountPath : /var/lib/config-data/merged
154+ - mountPath : /var/lib/openstack/config
155155 name : config-data
156156 - mountPath : /var/lib/kolla/config_files/config.json
157157 name : config-data
You can’t perform that action at this time.
0 commit comments