750a2f41c2
Recent changes in the system application framework have resulted in ptp-notification failing to apply. This is because the plugin defined in python3-k8sapp-ptp-notification does not exactly match the app name. This change re-names the ptp-plugin from "ptp_notification" to "ptp-notification" and allows the application to apply correctly. It also adds required constances and a get_overrides() function to the ptp-notification plugin so that helm overrides can work properly. This logic has been implmented in the same way as other stx platform apps. The app framework change that revealed this issue is: https://review.opendev.org/c/starlingx/config/+/915377 Test-plan: Pass: Verify ptp-notification build Pass: Build and install iso Pass: Verify ptp-notification app apply/remove/override Story: 2011090 Task: 50183 Signed-off-by: Cole Walker <cole.walker@windriver.com> Change-Id: Ia366eeb4c54aaccea65a9e568afaf8992bd825d5
40 lines
1.1 KiB
INI
40 lines
1.1 KiB
INI
[metadata]
|
|
name = k8sapp_ptp_notification
|
|
summary = StarlingX sysinv extensions for ptp-notification
|
|
long_description = file: README.rst
|
|
long_description_content_type = text/x-rst
|
|
license = Apache 2.0
|
|
author = StarlingX
|
|
author-email = starlingx-discuss@lists.starlingx.io
|
|
home-page = https://www.starlingx.io/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.4
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[files]
|
|
packages =
|
|
k8sapp_ptp_notification
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[entry_points]
|
|
systemconfig.helm_applications =
|
|
ptp-notification = systemconfig.helm_plugins.ptp_notification
|
|
|
|
systemconfig.helm_plugins.ptp_notification =
|
|
001_ptp-notification = k8sapp_ptp_notification.helm.ptp_notification:PTPNotificationHelm
|
|
|
|
[bdist_wheel]
|
|
universal = 1
|