Merge "Fix security context for glance rally tests"
This commit is contained in:
commit
794ee5e90d
@ -91,6 +91,8 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rally-db
|
- name: rally-db
|
||||||
mountPath: /var/lib/rally
|
mountPath: /var/lib/rally
|
||||||
|
- name: rally-work
|
||||||
|
mountPath: /home/rally/.rally
|
||||||
{{ if $mounts_tests.volumeMounts }}{{ toYaml $mounts_tests.volumeMounts | indent 8 }}{{ end }}
|
{{ if $mounts_tests.volumeMounts }}{{ toYaml $mounts_tests.volumeMounts | indent 8 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
@ -105,5 +107,7 @@ spec:
|
|||||||
defaultMode: 0555
|
defaultMode: 0555
|
||||||
- name: rally-db
|
- name: rally-db
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: rally-work
|
||||||
|
emptyDir: {}
|
||||||
{{ if $mounts_tests.volumes }}{{ toYaml $mounts_tests.volumes | indent 4 }}{{ end }}
|
{{ if $mounts_tests.volumes }}{{ toYaml $mounts_tests.volumes | indent 4 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -103,7 +103,8 @@ conf:
|
|||||||
- args:
|
- args:
|
||||||
container_format: bare
|
container_format: bare
|
||||||
disk_format: qcow2
|
disk_format: qcow2
|
||||||
image_location: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
|
# NOTE(aostapenko) temporary location to work around https://bugs.launchpad.net/rally/+bug/1887705
|
||||||
|
image_location: https://artifactory.mirantis.com/artifactory/binary-prod-local/mirantis/external/images/cirros/0.3.5/cirros-0.3.5-x86_64-disk.img
|
||||||
runner:
|
runner:
|
||||||
concurrency: 1
|
concurrency: 1
|
||||||
times: 1
|
times: 1
|
||||||
@ -115,7 +116,8 @@ conf:
|
|||||||
- args:
|
- args:
|
||||||
container_format: bare
|
container_format: bare
|
||||||
disk_format: qcow2
|
disk_format: qcow2
|
||||||
image_location: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
|
# NOTE(aostapenko) temporary location to work around https://bugs.launchpad.net/rally/+bug/1887705
|
||||||
|
image_location: https://artifactory.mirantis.com/artifactory/binary-prod-local/mirantis/external/images/cirros/0.3.5/cirros-0.3.5-x86_64-disk.img
|
||||||
runner:
|
runner:
|
||||||
concurrency: 1
|
concurrency: 1
|
||||||
times: 1
|
times: 1
|
||||||
@ -870,6 +872,7 @@ pod:
|
|||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
glance_test:
|
glance_test:
|
||||||
|
runAsUser: 65500
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
affinity:
|
affinity:
|
||||||
|
@ -59,3 +59,5 @@ openstack service list
|
|||||||
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
|
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
|
||||||
openstack image list
|
openstack image list
|
||||||
openstack image show 'Cirros 0.3.5 64-bit'
|
openstack image show 'Cirros 0.3.5 64-bit'
|
||||||
|
|
||||||
|
helm test glance --timeout 900
|
||||||
|
Loading…
Reference in New Issue
Block a user