Remove helm plugin version checks
Until the full application decoupling is completed, the helm plugin version enforcement is being removed since applications may still want to upversion the application without a change to the platform plugins. Full platform application compatibility will be enforced once the application decoupling story is completed. Story: 2006537 Task: 39551 Change-Id: Ia86fcfc2d100bad6fce5763bd2ab21a6bc3611b2 Signed-off-by: Matt Peters <matt.peters@windriver.com>
This commit is contained in:
@@ -91,7 +91,6 @@ systemconfig.helm_plugins.stx_monitor =
|
||||
008_kube-state-metrics = sysinv.helm.kube_state_metrics:KubeStateMetricsHelm
|
||||
009_nginx-ingress = sysinv.helm.nginx_ingress:NginxIngressHelm
|
||||
010_logstash = sysinv.helm.logstash:LogstashHelm
|
||||
011_monitor_version_check = sysinv.helm.monitor_version_check:StxMonitorVersionCheckHelm
|
||||
|
||||
systemconfig.helm_plugins.stx_openstack =
|
||||
001_ingress = sysinv.helm.ingress:IngressHelm
|
||||
@@ -120,9 +119,8 @@ systemconfig.helm_plugins.stx_openstack =
|
||||
024_ironic = sysinv.helm.ironic:IronicHelm
|
||||
025_placement = sysinv.helm.placement:PlacementHelm
|
||||
026_nginx-ports-control = sysinv.helm.nginx_ports_control:NginxPortsControlHelm
|
||||
027_version_check = sysinv.helm.openstack_version_check:StxOpenstackVersionCheckHelm
|
||||
028_fm-rest-api = sysinv.helm.fm_rest_api:FmRestApiHelm
|
||||
029_dcdbsync = sysinv.helm.dcdbsync:DcdbsyncHelm
|
||||
027_fm-rest-api = sysinv.helm.fm_rest_api:FmRestApiHelm
|
||||
028_dcdbsync = sysinv.helm.dcdbsync:DcdbsyncHelm
|
||||
|
||||
systemconfig.armada.manifest_ops =
|
||||
generic = sysinv.helm.manifest_generic:GenericArmadaManifestOperator
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2019 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
from sysinv.helm import base
|
||||
|
||||
MONITOR_SUPPORTED_VERSIONS = [
|
||||
'1.0-1',
|
||||
]
|
||||
|
||||
|
||||
class StxMonitorVersionCheckHelm(base.BaseHelm):
|
||||
"""Class to provide application version check"""
|
||||
|
||||
def _get_supported_versions(self):
|
||||
return MONITOR_SUPPORTED_VERSIONS
|
||||
|
||||
def version_check(self, app_version):
|
||||
return app_version in self._get_supported_versions()
|
||||
@@ -1,23 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2019 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
from sysinv.helm import base
|
||||
|
||||
SUPPORTED_VERSIONS = {
|
||||
'1.0-19-centos-stable-versioned',
|
||||
'1.0-19-centos-stable-latest',
|
||||
'1.0-19',
|
||||
}
|
||||
|
||||
|
||||
class StxOpenstackVersionCheckHelm(base.BaseHelm):
|
||||
"""Class to provide application version check"""
|
||||
|
||||
def _get_supported_versions(self):
|
||||
return SUPPORTED_VERSIONS
|
||||
|
||||
def version_check(self, app_version):
|
||||
return app_version in self._get_supported_versions()
|
||||
Reference in New Issue
Block a user