* added NodeName field in the remote Client interface
* added new subcommand 'list-hosts' to list hosts from
host-inventory from site manifests
Closes: #359
Signed-off-by: Shon Phand <shonphand@gmail.com>
Change-Id: I560a8117b1d55cad2a634df0d05a4aaedae2a873
This upgrades Kubernetes version in airshipctl to v1.21.2
Depends on https://review.opendev.org/c/airship/image-builder/+/812013/
https: //github.com/airshipit/airshipctl/issues/589
Change-Id: I30ef2543d91f574e73a555bf67ab7ec2764a4411
Signed-off-by: diwakar thyagaraj <dt241s@att.com>
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
If the virtual media is not explicitly ejected, the ephemeral node can
reinstall as ephemeral node after converted as a worker or controller
during reboot.
Change-Id: I9f383a1d8ead6fea6f37ace9eade64e70fcc72e4
Currently we install and use docker.io which is outdated. We should
switch to newer docker-ce, docker-ce-cli and containerd.io.
Change-Id: I951ced816466a0aed3db7313d475773c324ad71c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #657
This patchset provides the manifests for deploying a Target cluster on
Azure cloud platform, exposing the API server to the public Internet.
Relates-to: #600
Change-Id: I34789918b4be721fc518c033a82a4f8bce117494
This selector will allow us to improve internal logic in places
where we create selectors by ObjectReference objects and reuse
the code.
Change-Id: I4e4808bfdffc4446e9df255e2ed0b7b8f47d135c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
* Repository name is extracted from URL and used as WORKDIR.
It leads to error when the repository URL is provided with ".git"
"https://github.com/airshipit/airshipctl.git"
* Remove the ".git suffix when present in repository URL
Closes: #653
Change-Id: If154873f4126cedd85aa7f5deac13e17726a732c
The below manifest changes integrates capi v0.4.2 with capm3
v0.5.0 version. It changes the required manifests files
in the airshipctl. It upgrades capi to v1alpha4 and capm3 to
v1alpha5.
Closes: #518#560
Change-Id: Ia9ea82ad8052e55f0e70f1038497a919ac7b9270
The below PS has manifests files related to
capm3, bmo and ironic for v0.5.0 versions.
Relates-To: #518#558#560
Change-Id: Id9240320bc8dec32d5e5384c39e26ba04f55f9bd
Switching components type from []byte to string significantly
improves memory effiency of config function.
Change-Id: I81ddf469bf5abd214ff3785915d82ab494af6268
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Regenerate secrets and remove hc_vaults items since they
make significant delay due to http request timeouts.
Change-Id: Iebdc9347695fb070c0ff79f99b20890b3a8a9e0a
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Even when specifying a manifest branch in the AIAP overrides, the
entrypoint script overrides/disables the checkout behavior of the
airshipctl document pull script if AIRSHIP_CONFIG_PHASE_REPO_REF is not
set. This change updates the entrypoint script to check if
AIRSHIP_CONFIG_PHASE_REPO_BRANCH is specified before overriding the
checkout behavior.
Signed-off-by: Drew Walters <drewwalters@microsoft.com>
Change-Id: Ibb2798201f8e02333289f193355f3aa2a6c627ad
The runner container uses a set of secrets to generate the airshipctl
config file, but the volume containing those secrets is never mounted.
This change adds the required mount.
Change-Id: I1d8f84d3870a98957784be4d3a5582b3cc011bf1
Removed unnecessary test bundle files and instead mocked the usage of all workflows related to bundles in these lines of code.
Relates-To: #464
Relates-To: #465
Change-Id: I8f95e81e95b3215bf3994ae446fa66a9f818ebed