Merge "Remove armada"

This commit is contained in:
Zuul 2023-03-27 15:23:11 +00:00 committed by Gerrit Code Review
commit 16b03e380d
3 changed files with 0 additions and 58 deletions
python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller
k8sapp_nginx_ingress_controller/operator
setup.cfg

@ -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