
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
20 lines
662 B
Modula-2
20 lines
662 B
Modula-2
module opendev.org/airship/airshipctl/krm-functions/applier/image
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 // indirect
|
|
github.com/elazarl/goproxy v0.0.0-20190421051319-9d40249d3c2f // indirect
|
|
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect
|
|
k8s.io/api v0.21.1
|
|
k8s.io/apimachinery v0.21.1
|
|
k8s.io/cli-runtime v0.21.1
|
|
k8s.io/client-go v0.21.1
|
|
k8s.io/klog/v2 v2.9.0
|
|
k8s.io/kubectl v0.21.1
|
|
sigs.k8s.io/cli-utils v0.26.0
|
|
sigs.k8s.io/controller-runtime v0.9.0-beta.5.0.20210524185538-7181f1162e79
|
|
sigs.k8s.io/kustomize/api v0.8.11 // indirect
|
|
sigs.k8s.io/kustomize/kyaml v0.11.0
|
|
)
|