Added container_infra api version in values file to render in template

Horizon complains about not defined the container_infra version in OPENSTACK_API_VERSIONS when using the magnum dashboard in horizon. Additional of the api version of the container_infra solves the issue.

Change-Id: I99faeffc82d9d0e50e01f17f3fbf2ca0d19c161b
This commit is contained in:
xuxant02@gmail.com 2021-10-19 11:29:22 +05:45
parent 311fb5bf69
commit 39781a7d3d
3 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Horizon
name: horizon
version: 0.2.12
version: 0.2.13
home: https://docs.openstack.org/horizon/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
sources:

View File

@ -231,6 +231,8 @@ conf:
log_level: "DEBUG"
# Pass any settings to the end of local_settings.py
raw: {}
openstack_api_versions:
container_infra: "1.19"
template: |
import os
@ -296,6 +298,7 @@ conf:
OPENSTACK_API_VERSIONS = {
"identity": 3,
"container_infra": {{ .Values.conf.horizon.local_settings.config.openstack_api_versions.container_infra }}
}
# Set this to True if running on multi-domain model. When this is enabled, it

View File

@ -22,4 +22,5 @@ horizon:
- 0.2.10 Helm 3 - Fix Job Labels
- 0.2.11 Update htk requirements repo
- 0.2.12 Support both json and yaml RBAC Policy Format
- 0.2.13 Add container infra api version in values
...