Remove armada
Depends-On: https://review.opendev.org/c/starlingx/config/+/869094 Story: 2010560 Task: 47607 Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Change-Id: Ib431ee08f9837d59c30c25aa203bedecbebe4370
This commit is contained in:
parent
5d05b376f3
commit
c2ae060353
@ -1,19 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2022 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('tag:yaml.org,2002:str', data, style="'")
|
||||
|
||||
|
||||
yaml.add_representer(quoted_str, quoted_presenter)
|
@ -1,36 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2022 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# All Rights Reserved.
|
||||
#
|
||||
|
||||
""" System inventory Armada manifest operator."""
|
||||
|
||||
from k8sapp_nginx_ingress_controller.common import constants as app_constants
|
||||
from k8sapp_nginx_ingress_controller.helm.ingress_nginx import IngressNginxHelm
|
||||
|
||||
from sysinv.common import constants
|
||||
from sysinv.helm import manifest_base as base
|
||||
|
||||
|
||||
class IngressNginxArmadaManifestOperator(base.ArmadaManifestOperator):
|
||||
APP = constants.HELM_APP_NGINX_IC
|
||||
ARMADA_MANIFEST = 'operator-manifest'
|
||||
|
||||
CHART_GROUP = app_constants.CHART_GROUP_INGRESS_NGINX
|
||||
CHART_GROUPS_LUT = {
|
||||
IngressNginxHelm.CHART: CHART_GROUP
|
||||
}
|
||||
|
||||
CHARTS_LUT = {
|
||||
IngressNginxHelm.CHART: app_constants.HELM_CHART_INGRESS_NGINX
|
||||
}
|
||||
|
||||
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
|
||||
"""
|
@ -33,9 +33,6 @@ systemconfig.helm_applications =
|
||||
systemconfig.helm_plugins.nginx_ingress_controller =
|
||||
001_ks-ingress-nginx = k8sapp_nginx_ingress_controller.helm.ingress_nginx:IngressNginxHelm
|
||||
|
||||
systemconfig.armada.manifest_ops =
|
||||
nginx-ingress-controller = k8sapp_nginx_ingress_controller.operator.manifest_nginx:IngressNginxArmadaManifestOperator
|
||||
|
||||
systemconfig.app_lifecycle =
|
||||
nginx-ingress-controller = k8sapp_nginx_ingress_controller.lifecycle.lifecycle_nginx_ingress_controller:NginxIngressControllerAppLifecycleOperator
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user