Remove armada
Depends-On: https://review.opendev.org/c/starlingx/config/+/869094 Test Plan: PASS: App operations still work fine Story: 2010560 Task: 47610 Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Change-Id: Ibbbaf51a6b58c70aa915976530217301c31fa721
This commit is contained in:
parent
7bc0bbfe01
commit
1490adbe75
@ -1,19 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2020 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
import yaml
|
||||
|
||||
|
||||
class quoted_str(str):
|
||||
pass
|
||||
|
||||
|
||||
# force strings to be single-quoted to avoid interpretation as numeric values
|
||||
def quoted_presenter(dumper, data):
|
||||
return dumper.represent_scalar(u'tag:yaml.org,2002:str', data, style="'")
|
||||
|
||||
|
||||
yaml.add_representer(quoted_str, quoted_presenter)
|
@ -1,37 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2020 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# All Rights Reserved.
|
||||
#
|
||||
|
||||
""" System inventory Armada manifest operator."""
|
||||
|
||||
from k8sapp_vault.helm.rbd_provisioner import VaultHelm
|
||||
|
||||
from sysinv.common import constants
|
||||
from sysinv.helm import manifest_base as base
|
||||
|
||||
|
||||
class VaultArmadaManifestOperator(base.ArmadaManifestOperator):
|
||||
|
||||
APP = constants.HELM_APP_VAULT
|
||||
ARMADA_MANIFEST = 'armada-manifest'
|
||||
|
||||
CHART_GROUP_VAULT = 'vault'
|
||||
CHART_GROUPS_LUT = {
|
||||
VaultHelm.CHART: CHART_GROUP_VAULT
|
||||
}
|
||||
|
||||
CHARTS_LUT = {
|
||||
Vault.CHART: 'vault'
|
||||
}
|
||||
|
||||
def platform_mode_manifest_updates(self, dbapi, mode):
|
||||
""" Update the application manifest based on the platform
|
||||
|
||||
:param dbapi: DB api object
|
||||
:param mode: mode to control how to apply the application manifest
|
||||
"""
|
||||
pass
|
@ -6,7 +6,6 @@
|
||||
|
||||
from sysinv.common import constants
|
||||
from sysinv.tests.db import base as dbbase
|
||||
from sysinv.tests.helm.test_helm import HelmOperatorTestSuiteMixin
|
||||
|
||||
|
||||
class K8SAppVaultAppMixin(object):
|
||||
@ -25,7 +24,6 @@ class K8SAppVaultAppMixin(object):
|
||||
class K8sAppVaultControllerTestCase(K8SAppVaultAppMixin,
|
||||
dbbase.BaseIPv6Mixin,
|
||||
dbbase.BaseCephStorageBackendMixin,
|
||||
HelmOperatorTestSuiteMixin,
|
||||
dbbase.ControllerHostTestCase):
|
||||
pass
|
||||
|
||||
@ -37,6 +35,5 @@ class K8sAppVaultControllerTestCase(K8SAppVaultAppMixin,
|
||||
# - vault app
|
||||
class K8SAppVaultAIOTestCase(K8SAppVaultAppMixin,
|
||||
dbbase.BaseCephStorageBackendMixin,
|
||||
HelmOperatorTestSuiteMixin,
|
||||
dbbase.AIOSimplexHostTestCase):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user