helm-charts/charts/rally-exporter/templates/secret.yaml

67 lines
1.8 KiB
YAML
Executable File

---
apiVersion: v1
kind: Secret
metadata:
namespace: {{ .Release.Namespace }}
name: {{ include "rally-exporter.fullname" . }}
labels:
{{- include "rally-exporter.labels" . | indent 4 }}
stringData:
rally.conf: |
[database]
connection=sqlite:////home/rally/data/rally.db
[openstack]
nova_server_boot_timeout=90
clouds.yaml: |
clouds:
default:
auth:
auth_url: {{ .Values.cloud.auth_url }}
project_name: {{ .Values.cloud.project_name }}
tenant_name: {{ .Values.cloud.project_name }}
username: {{ .Values.cloud.username }}
password: {{ .Values.cloud.password }}
user_domain_name: {{ .Values.cloud.user_domain_name }}
project_domain_name: {{ .Values.cloud.project_domain_name }}
region_name: {{ .Values.cloud.region_name }}
interface: {{ .Values.cloud.interface }}
plan.yaml: |
---
version: 2
title: OpenStack Cloud Validation
description: |
This task runs a few synethic tests to ensure that the cloud is in a
functional state.
subtasks:
- title: keystone
scenario:
Authenticate.keystone: {}
runner:
constant:
times: 1
concurrency: 1
sla:
max_seconds_per_iteration: 5
failure_rate:
max: 0
- title: nova
scenario:
NovaServers.boot_server_from_volume_and_delete:
{{ if .Values.test.network }}
nics:
- net-name: {{ .Values.test.network }}
{{- end }}
volume_size: 20
flavor:
name: {{ .Values.test.flavor }}
image:
name: {{ .Values.test.image }}
runner:
constant:
times: 1
concurrency: 1
sla:
max_seconds_per_iteration: 90
failure_rate:
max: 0