openstack-helm/tools/gate/files/rally-reports.yaml
Darla Ahlert cbb6ed9172 Add Rally Chart
Basic functioning chart
Helm tests to verify functionality
Documentation to support

Implements: blueprint openstack-helm-chart-rally
Change-Id: Idcff88db63a5d8be6099969c41f6c34450c61064
2017-10-05 09:19:49 -05:00

31 lines
759 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
labels:
version: v0.1.0
name: get-rally-data
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: get-rally-data
image: docker.io/alpine:latest
imagePullPolicy: Always
command:
- /bin/sh
- -ec
- |
cp -av /mnt/rally-pvc/* /mnt/rally-data
volumeMounts:
- name: pvc-rally
mountPath: /mnt/rally-pvc
- name: rally-data
mountPath: /mnt/rally-data
volumes:
- name: pvc-rally
persistentVolumeClaim:
claimName: pvc-rally
- name: rally-data
hostPath:
path: /tmp/rally-data