Remove armada

Depends-On: https://review.opendev.org/c/starlingx/config/+/869094

Story: 2010560
Task: 47608

Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com>
Change-Id: I1e0784456aae3d8e54797bfc17de76ea0e0bc52a
This commit is contained in:
Fabricio Henrique Ramos 2023-03-08 19:34:53 -03:00
parent 9e9ed8b887
commit bb07f860e1
2 changed files with 0 additions and 60 deletions

View File

@ -1,19 +0,0 @@
#
# Copyright (c) 2021 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)

View File

@ -1,41 +0,0 @@
#
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# All Rights Reserved.
#
""" System inventory Armada manifest operator."""
from k8sapp_ptp_notification.helm.rbd_provisioner import PTPNotificationHelm
from k8sapp_ptp_notification.helm.psp_rolebinding import PSPRolebindingHelm
from sysinv.common import constants
from sysinv.helm import manifest_base as base
class PTPNotificationArmadaManifestOperator(base.ArmadaManifestOperator):
APP = constants.HELM_APP_PTP_NOTIFICATION
ARMADA_MANIFEST = 'armada-manifest'
CHART_GROUP_PSP_ROLEBINDING = 'ptp-notification-psp-rolebinding'
CHART_GROUP_PTP_NOTIFICATION = 'ptp-notification'
CHART_GROUPS_LUT = {
PSPRolebindingHelm.CHART: CHART_GROUP_PSP_ROLEBINDING,
PTPNotificationHelm.CHART: CHART_GROUP_PTP_NOTIFICATION
}
CHARTS_LUT = {
PSPRolebindingHelm.CHART: 'ptp-notification-psp-rolebinding',
PTPNotification.CHART: 'ptp-notification'
}
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