app-gen-tool/templates_plugins/kustomize.template
Daniel Caires 421ced5174 Update app generator tool
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>
2023-10-19 09:53:57 -03:00

18 lines
550 B
Plaintext

from {appname}.common import constants
from sysinv.helm import kustomize_base as base
class {appnameStriped}FluxCDKustomizeOperator(base.FluxCDKustomizeOperator):
APP = constants.HELM_APP
def platform_mode_kustomize_updates(self, dbapi, mode):
""" Update the top-level kustomization resource list
Make changes to the top-level kustomization resource list based on the
platform mode
:param dbapi: DB api object
:param mode: mode to control when to update the resource list
"""
pass