From 39781a7d3de0426dae4534b85a07ddcecfbeddae Mon Sep 17 00:00:00 2001 From: "xuxant02@gmail.com" Date: Tue, 19 Oct 2021 11:29:22 +0545 Subject: [PATCH] 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 --- horizon/Chart.yaml | 2 +- horizon/values.yaml | 3 +++ releasenotes/notes/horizon.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/horizon/Chart.yaml b/horizon/Chart.yaml index 7cc8948448..4359409aaa 100644 --- a/horizon/Chart.yaml +++ b/horizon/Chart.yaml @@ -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: diff --git a/horizon/values.yaml b/horizon/values.yaml index 97c30db217..9b138c0c84 100644 --- a/horizon/values.yaml +++ b/horizon/values.yaml @@ -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 diff --git a/releasenotes/notes/horizon.yaml b/releasenotes/notes/horizon.yaml index 8fe3d4fdc7..1a79c3821a 100644 --- a/releasenotes/notes/horizon.yaml +++ b/releasenotes/notes/horizon.yaml @@ -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 ...