Closed MatousJobanek closed 7 months ago
@mfrancisc Good question - the command groups the manifests in folders by tier name and it doesn't care if it's one tier or more of them. For the simplicity, I would keep it as it is.
Merging #31 (d1ecc69) into master (cfee5c4) will decrease coverage by
0.16%
. The diff coverage is62.35%
.
based on the changes in host-operator repo and toolchain-common - see https://github.com/codeready-toolchain/toolchain-common/pull/381
this PR adds a new command
ksctl generate nstemplatetiers
that takes a folder with tier templates (in the same format as we have in host-operator here: https://github.com/codeready-toolchain/host-operator/tree/master/deploy/templates/nstemplatetiers) and generates resulting TierTemplates and NSTemplateTiers in the out directory together with kustomization.yaml files. In this way, Konflux team can move the definition of their tiers out of host-operator and manage them in infra-deployments via ArgoCD.KUBESAW-60
For testing purposes, I copied the content of the appstudio tiers into test-resources folder