airshipctl/pkg/document
Ruslan Aliev 3e44c42989 Introduce KRM based k8s applier
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
2021-10-27 08:14:22 +00:00
..
metadata Update metadata.yaml to kubernetes style 2021-06-04 03:34:31 +00:00
plugin Merge "Update Transformer to accept blank source string" 2021-10-04 23:57:43 +00:00
pull Implement fetching remote refs for document pull 2021-07-29 10:16:27 -05:00
repo Implement fetching remote refs for document pull 2021-07-29 10:16:27 -05:00
testdata Use bundle mock for document tests 2021-10-05 22:42:13 +00:00
bundle.go Nextgen secrets implementation with separation per cluster 2021-09-03 20:46:15 +00:00
bundle_test.go Add ability to create bundle from bytes 2021-02-08 23:32:06 -06:00
constants.go Introduce KRM based k8s applier 2021-10-27 08:14:22 +00:00
dochelper_baremetalhost.go Add copyright for missing files 2020-04-09 08:35:59 -05:00
dochelper_test.go Use bundle mock for document tests 2021-10-05 22:42:13 +00:00
dochelper_utils.go Update ephemeral-bmc-secret to use base64 data 2021-06-07 15:17:17 -05:00
document.go Switching airshipctl and krm-functions to kustomize 4.2.0 2021-07-22 17:06:32 +00:00
document_test.go Fix typos 2020-09-21 02:49:33 -05:00
errors.go Remove unnecessary code 2021-05-03 14:34:57 +03:00
selectors.go Introduce KRM based k8s applier 2021-10-27 08:14:22 +00:00
selectors_test.go Switching airshipctl and krm-functions to kustomize 4.2.0 2021-07-22 17:06:32 +00:00
tree.go Add phase tree command in package module 2021-01-06 19:38:54 +00:00
tree_test.go Add phase tree command in package module 2021-01-06 19:38:54 +00:00