910d296f6b
Deduplicate networking definitions inside of airshipctl functions, and make the values driveable via a catalogue. Changes: * Removed BMO patches at site level; drive through catalogue instead. * Added separate entrypoints for ephemeral & target site-level. catalogue/networking overrides. Ephemeral's kustomizes target's. * Generalized the commonHostNetworking catalogue into a section in the overall networking catalogue. * Cleaned up catalogue use in general. * Got rid of some ill-formed Type-level phase definition. We should go back soon and define proper Type-level phases. Change-Id: Iff96ccdcf7ebde4ae55e2b1a9d25dd1cdca0d2c8 Relates-To: https://github.com/airshipit/airshipctl/issues/315
12 lines
412 B
YAML
12 lines
412 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
|
# otherwise nodes will hang in 'registering' state for quite a long time
|
|
- ../../../../function/k8scontrol
|
|
- ../../target/catalogues # NOTE: use target networking for this phase
|
|
- nodes
|
|
|
|
transformers:
|
|
- ../../../../function/k8scontrol/replacements
|