diff --git a/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/__init__.py b/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/__init__.py deleted file mode 100644 index 9bc4dd1..0000000 --- a/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/__init__.py +++ /dev/null @@ -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) diff --git a/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/manifest_auditd.py b/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/manifest_auditd.py deleted file mode 100644 index 19faf1c..0000000 --- a/python-k8sapp-auditd/k8sapp_auditd/k8sapp_auditd/armada/manifest_auditd.py +++ /dev/null @@ -1,32 +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_auditd.common import constants as app_constants -from k8sapp_auditd.helm.auditd import AuditdHelm - -from sysinv.helm import manifest_base as base - - -class AuditdArmadaManifestOperator(base.ArmadaManifestOperator): - - APP = app_constants.HELM_APP_AUDITD - ARMADA_MANIFEST = 'armada-manifest' - - CHART_GROUP_AUDITD = 'auditd' - CHART_GROUPS_LUT = { - AuditdHelm.CHART: 'kube-system-auditd', - } - - 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 - """ diff --git a/python-k8sapp-auditd/k8sapp_auditd/setup.cfg b/python-k8sapp-auditd/k8sapp_auditd/setup.cfg index 38bdb62..02a74b1 100644 --- a/python-k8sapp-auditd/k8sapp_auditd/setup.cfg +++ b/python-k8sapp-auditd/k8sapp_auditd/setup.cfg @@ -35,8 +35,5 @@ systemconfig.helm_applications = systemconfig.helm_plugins.auditd = 001_auditd = k8sapp_auditd.helm.auditd:AuditdHelm -systemconfig.armada.manifest_ops = - auditd = k8sapp_auditd.armada.manifest_auditd:AuditdArmadaManifestOperator - [wheel] universal = 1