app-gen-tool/app_manifest.yaml
Tomás Barros cac2937bef Refactor support for tar and git helm-charts
This commit aims to support helm-charts passed
as dir, git url or as a .tar package and unit
tests for these functionalities.
It also removes some of the remanescent Armada
sections from the app_manifest.yaml that i forgot
to remove in review 902843 and correct some
little flake8 warnings.

Test Plan:
PASS - Helm charts passed as dir in the
app_manifest path are working as expected
PASS - Helm charts passed as git url in the
app_manifest path are working as expected
PASS - Helm charts passed as tar packages in the
app_manifest path are working as expected

Story: 2010937
Task: 49130
Task: 49131

Change-Id: I1fc0e98f731c9a43f742b94d2044c57291876fc0
Signed-off-by: Tomás Barros <tomas.barros@encora.com>
2023-12-28 18:35:36 -03:00

72 lines
2.4 KiB
YAML

---
## App Manifest Configuration
appManifestFile-config:
appName: # required
appVersion: # required
namespace: # required
chart:
- name: # required
version: # required
path: # required
chartGroup: # required name
# add more if you have more than one chart
#################################################
## App Metadata Configuration
# for further details about possible configurations on this file, please
# visit the link: https://wiki.openstack.org/wiki/StarlingX/Containers/StarlingXAppsInternals#metadata.yaml
metadataFile-config:
# the following configurations are optional
# uncomment and configure properly the ones you need for your application metadata
# upgrades:
# auto_update: <true/false/yes/no>
# update_failure_no_rollback: <true/false/yes/no>
# from_versions:
# - <version.1>
# - <version.2>
# # ...
# supported_k8s_version:
# minimum: <version>
# maximum: <version>
# supported_releases:
# <release>:
# - <patch.1>
# - <patch.2>
# # ...
# repo: <helm repo>
# disabled_charts:
# - <chart name>
# - <chart name>
# # ...
# maintain_attributes: <true|false>
# maintain_user_overrides: <true|false>
# behavior:
# platform_managed_app: <true/false/yes/no>
# desired_state: <uploaded/applied>
# evaluate_reapply: <string>
# after:
# - <app_name.1>
# - <app_name.2>
# - ...
# triggers:
# - type: <key in APP_EVALUATE_REAPPLY_TRIGGER_TO_METADATA_MAP>
# - type: <key in APP_EVALUATE_REAPPLY_TRIGGER_TO_METADATA_MAP>
# - ...
# filters:
# - <field_name.1>: <value_name.1>
# - <field_name.2>: <value_name.2>
# - ...
# filter_field: <field_name>
# apply_progress_adjust: <0/1/2/.../100>
#################################################
## App Setup Configuration
# if you wish to see a setup.cfg example, please see the link
# https://opendev.org/starlingx/app-dell-storage/src/branch/master/python3-k8sapp-dell-storage/k8sapp_dell_storage/setup.cfg
setupFile-config:
metadata:
author: # required
author_email: # required
url: # required
classifier: # required
- # required