fix(horizon): quota container-infra in OPENSTACK_API_VERSIONS

Since most services use OPENSTACK_API_VERSIONS for the major
API version only but Magnum uses it for micro-versions, it ends
up with some decimal values.

At the moment, we have it set to 1.10 however since it's being
set as a number, it's becoming 1.1 which is too old.  The
solution is to quote it as a string instead and that is what
magnum-ui expects as well.

Change-Id: I46b5fec69d8bc353e38a6f8e6e506e2a460371f4
This commit is contained in:
Mohammed Naser 2023-02-19 22:35:36 +00:00 committed by okozachenko
parent 73e696b3fb
commit 536eaed62d
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -312,7 +312,7 @@ conf:
OPENSTACK_API_VERSIONS = { OPENSTACK_API_VERSIONS = {
"identity": 3, "identity": 3,
"container-infra": {{ .Values.conf.horizon.local_settings.config.openstack_api_versions.container_infra }} "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 # Set this to True if running on multi-domain model. When this is enabled, it

View File

@ -42,4 +42,5 @@ horizon:
- 0.3.3 Update mysql client version in django.wsgi also - 0.3.3 Update mysql client version in django.wsgi also
- 0.3.4 Add readiness probe timeout - 0.3.4 Add readiness probe timeout
- 0.3.5 Replace node-role.kubernetes.io/master with control-plane - 0.3.5 Replace node-role.kubernetes.io/master with control-plane
- 0.3.6 Fix container infra api version parsing
... ...