airshipctl/manifests/function/airshipctl-catalogues
Matt McEuen d5ec4ecbd2 Refactor kustomization of env vars
This tweaks the generation of the env-vars catalogue to be done in
the airshipctl-catalogues function itself, resulting in a vanilla
catalogue that can be imported as a resource across the phases that
need it.

Change-Id: I40fe9369ad2d5f4b58123f67ac90511db6a2fd12
2020-10-14 17:43:44 -05:00
..

Function: airshipctl-catalogues

This function defines some default VariableCatalogue resources, which can be consumed and used (via ReplacementTransformer) to change the versioning and resource locations used by functions in the airshipctl project. More base catalogues will be added here in the future.

This catalogue can be used as-is to simply apply defaults, or a different catalogue may be supplied (with the same versions-airshipctl name) as a kustomize resource. The catalogue in this function can also be patched at the composite, type, or site level to reconfigure the versions.

The versions info falls under these keys:

  • charts: Helm chart locations and versions

  • files: image file (etc) locations and versions

  • images: container image registries and versions

  • kubernetes: a standalone key for the Kubernetes version to use

Versions that are defined for specific resources in specific functions (e.g., container images) are categorized in the catalogue according to the function and resource they will be applied to. E.g., images.baremetal_operator.ironic.dnsmasq.