cbb6ed9172
Basic functioning chart Helm tests to verify functionality Documentation to support Implements: blueprint openstack-helm-chart-rally Change-Id: Idcff88db63a5d8be6099969c41f6c34450c61064
31 lines
759 B
YAML
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 |