3e44c42989
The KRM based k8s applier solves multiple design problems which were introduced in previous airshipctl generation, making apply code and process more clear, reliable and readable. In particular: * k8s applier now is a KRM function and it allows the end user to choose or implement desired backend for k8s apply operations; * the related amount of code was reduced by three times, multiple unused and unnecessary structs/interfaces/design patterns were removed or rewrited in more clean and efficient way; * removed cli-utils dependency from airshipctl; * fixed several bugs and code issues, such as incorrect printing of tables, duplicated unit tests, improper generation and applying inventory config map, etc; * cli-utils version used in KRM function was bumped to 0.26.0; * phases with duplicated k8s resources were removed or fixed; * unit test coverage increased to 83.1%; * KRM function logs were integrated with klog library which allows to observe logs directly from cli-utils and other dependent libs. Change-Id: Ief509f1d6abefd53caf7fcffc4e36b0319815373 Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Closes: #646 |
||
---|---|---|
.. | ||
baremetal_manager.go | ||
bootconfiguration_types.go | ||
cluster_map_types.go | ||
clusterctl_types.go | ||
genericcontainer_types.go | ||
groupversion_info.go | ||
isoconfiguration.go | ||
kubeconfig_types.go | ||
kubernetes_apply_types.go | ||
metadata_types.go | ||
networkcatalogue_types.go | ||
phase_types.go | ||
phaseplan_types.go | ||
README.md | ||
replacement_plugin_types.go | ||
templater_plugin_types.go | ||
versionscatalogue_types.go | ||
zz_generated.deepcopy.go |
Generating zz_generated.deepcopy.go in api/v1alpha1
This directory contains the data types needed by airshipctl phase run command.
When you add a new data structure in this directory you will need to generate the file zz_generated.deepcopy.go. To generate this file you will need to run make generate.