421ced5174
Update app-gen.py so the user can choose between Armada or FluxCD packaging, or both. - Create templates for FluxCD manifest - Create templates for Flux plugins - Update app-gen.py so it also supports FluxCD - Create template for the input file Story: 2010937 Task: 48913 Change-Id: I2521c3509556910841fd116f5a106e6577aad58a Signed-off-by: Daniel Caires <daniel.caires@encora.com>
86 lines
2.8 KiB
YAML
86 lines
2.8 KiB
YAML
---
|
|
## App Manifest Configuration
|
|
appManifestFile-config:
|
|
appName: # required
|
|
appVersion: # required
|
|
namespace: # required
|
|
chart:
|
|
- name: # required
|
|
version: # required
|
|
path: # required
|
|
chartGroup: # required
|
|
# add more if you have more than one chart
|
|
chartGroup:
|
|
- name: # required
|
|
description: # required for Armada
|
|
sequenced: # required for Armada <true/false>
|
|
chart_names:
|
|
- # required
|
|
- # optional
|
|
# add more if you have more than one chartgroup for your Armada app
|
|
manifest:
|
|
name: # required for Armada
|
|
releasePrefix: # required for Armada
|
|
|
|
## For Armada packaging the sections bellow are not necessary.
|
|
|
|
#################################################
|
|
## 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
|