Add configuration for heat-tempest-plugin

Change-Id: I6402a18038f349225696ae0c23c30d55623766a7
This commit is contained in:
josebb 2022-05-04 21:05:23 +03:00
parent d1a7abeb0c
commit 82065e3bb1
4 changed files with 52 additions and 1 deletions

View File

@ -9,4 +9,5 @@ tempest:
- 0.2.4 Update default image values to Wallaby
- 0.2.5 Added OCI registry authentication
- 0.2.6 Support SSL openstack endpoints
- 0.2.7 Add configuration for heat-tempest-plugin
...

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Tempest
name: tempest
version: 0.2.6
version: 0.2.7
home: https://docs.openstack.org/tempest/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/tempest/OpenStack_Project_tempest_vertical.png
sources:

View File

@ -35,6 +35,38 @@ limitations under the License.
{{- $_ := set .Values.conf.tempest.identity "region" .Values.endpoints.identity.auth.admin.region_name -}}
{{- end -}}
{{- if .Values.conf.tempest.service_available.heat -}}
{{- if empty .Values.conf.tempest.heat_plugin.username -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "username" .Values.endpoints.identity.auth.tempest.username -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.password -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "password" .Values.endpoints.identity.auth.tempest.password -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.project_name -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "project_name" .Values.endpoints.identity.auth.tempest.project_name -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.admin_username -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "admin_username" .Values.endpoints.identity.auth.admin.username -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.admin_password -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "admin_password" .Values.endpoints.identity.auth.admin.password -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.admin_project_name -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "admin_project_name" .Values.endpoints.identity.auth.admin.project_name -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.auth_url -}}
{{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.tempest.heat_plugin "auth_url" -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.region -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "region" .Values.endpoints.identity.auth.admin.region_name -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.project_domain_name -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "project_domain_name" .Values.endpoints.identity.auth.tempest.project_domain_name -}}
{{- end -}}
{{- if empty .Values.conf.tempest.heat_plugin.user_domain_name -}}
{{- $_ := set .Values.conf.tempest.heat_plugin "user_domain_name" .Values.endpoints.identity.auth.tempest.user_domain_name -}}
{{- end -}}
{{- end -}}
{{- if empty .Values.conf.tempest.dashboard.dashboard_url -}}
{{- $endpointScheme := tuple "dashboard" "public" "web" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" }}

View File

@ -137,6 +137,23 @@ conf:
admin_domain_name: null
use_dynamic_credentials: true
dashboard: {}
heat_plugin:
# Username to use for non admin API requests
username: null
# Non admin API key to use when authenticating.
password: null
project_name: null
# Username to use for admin API requests
admin_username: null
# Admin API key to use when authentication
admin_password: null
# Admin project name to use for admin API requests
admin_project_name: null
auth_version: 3
auth_url: null
user_domain_name: null
project_domain_name: null
region: null
identity:
admin_domain_scope: false
auth_version: v3
@ -203,6 +220,7 @@ conf:
# tempest image used includes a bug resulting in failed network tests that
# wasn't fixed in newton. Swift is disabled by default as the swift chart
# isn't complete
heat: false
neutron: false
nova: false
swift: false