By default kustomize cli orders k8s resources, in a way, that they
can easily by applied to cluster, namespaces and crds first. In this
patch set we implementing same behavior
Relates-To: #131
Closes: #131
Change-Id: I4fc75366627ed361ac1da48e89a35949bcb79801
Resolve the following error when logging into the remote docker registry.
Failed to import the required Python library (Docker SDK for Python:
docker (Python >= 2.7) or docker-py (Python 2.6)) on
ubuntu-bionic-rax-dfw-0015461365's Python /usr/bin/python3.
Please read module documentation and install in the appropriate
location, for example via `pip install docker` or `pip install docker-py`
(Python 2.6). The error was: No module named 'docker'
Change-Id: I0df7e58aae886dfa3901815a60853e47c98b5e90
Now that initinfra leverages a specific entrypoint using
the cluster type, and the Config.Initinfra subdirectory
there is no need to also require all documents be labeled
with a specific label. That would be redundant.
Change-Id: I41ff1ea01d5f04d7d987d2308636adfff48016ea
SelectByFieldValue method returns new bundle with documents which
values referenced by JSON path comply with function passed as input
argument to the method
Related: #14
Change-Id: I31bb6beee96b0d65719b6976caac63e54c65dcd2
Settings variable, function names, and comments inconsistently use
either Kubeconfig, KubeconfigPath or KubeConfigPath capitalizations.
This is a minor refactor to consistently use the KubeConfig
capitalization variants.
Relates-To: #124
Change-Id: Iaece6683931164ccaa213f4f3385de9c077d26b7
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
The dynamic client will be needed to interact with any custom resource
that airshipctl doesn't know about. It will be required for checking the
health of a cluster, as well as any other operations that may need to be
performed on generic objects.
This also adds the pkg/k8s/client/fake package, which can be used to
create a mock instance of a client for use in unit tests.
Change-Id: Ia331ff4875a067045f6f9245daee109126fb1d33
Relates-To: #73
Relates-To: #20
This PS adds role which installs docker
Depends-On: https://review.opendev.org/#/c/714109/
Change-Id: I2d114fbb8bd93f88bd9526529e985f92125dc428
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
Metal3 supports only network_data.json (converted to yaml) format.
Ephemeral node should also be configured using this format
Relates-To: #120
Change-Id: I46380a0fd708c0bc260d355545b27fd007885de6
Cluster API function documents are handled by its community and should be
used as an external dependency for Airship document model. This change
will bring CAPI manifests maintenance to Cluster API git repo tag
management inside of an appropriate functions
Change-Id: I31acb3de7f3ae339ab0b9a48a37df09eb694bdb7
Relates-To: #104
Relates-To: #121
This reverts commit 5c5ff8b46f254c5004bbf20b9b7da4933d476b58.
Logs are not being collected under artifacts section of Zuul.
Container logs collector patch set 712555 needs further work.
Change-Id: If8703812cf101506de2808365dfee6c032a0f35f
* Expose the GetAnnotations method of the document.Document interface.
* Add the Annotate method for adding a single annotation to a
document.Document
* Clean up the implementation of Label and GetLabels
Change-Id: I94af2380f50848bfcd64af9d5c2c991305d9746f
Relates-To: #102
Currently, errors thrown by RemoteDirect are simply HTTP status codes
from the Redfish client HTTP requests. This change adds feedback to
RemoteDirect errors when the Redfish client provides error feedback.
Closes #52
Change-Id: I4441baf3b98405e92613a2d4e8c44ef63a5d4001
Signed-off-by: Drew Walters <andrew.walters@att.com>
This change refactors the Redfish ClientError to match the error pattern
used elsewhere in airshipctl.
Change-Id: Ie309ba9ac41e5b618cf2f4c18f1f381d875e9cdb
Signed-off-by: Drew Walters <andrew.walters@att.com>
Added test cases:
WriteFiles
TabWriter
NewRedfishRemoteDirectClient
Updated:
ReadYAMLFile => new test case with invalid yaml file
Change-Id: I06c6f2eefd1c1c1659e0bf3c08fbe28628c80725
Removed two unused methods from bundle interface.
Two other methods are used internally and there is no need to keep it in the interface.
Change-Id: I5d7999e4b2c83dd43025442e5549ac7826009a87
Removed external methods from document interface.
Created new methods to supply document labelling.
Change-Id: I4c20ad515999a6c049a2feddafdb62af8e1dfefb
Currently, the image publish job is not functioning. This appears to be
due to an invalid secret name. Hyphens cause problems in Ansible
variable names [0]. This change converts the secrets in this repository
to use underscores.
[0] https://github.com/ansible/ansible/issues/3907
Closes #33
Change-Id: I2b1db9ba01a425788541afd8938afef92ef539d6
Signed-off-by: Drew Walters <andrew.walters@att.com>
Also this commit, adds condition to setup testbundle, that ignores
directories
Commit adds new set of functions that allow easy selection of
documents from bundle for different modules.
Relates-To: #61
Closes: #61
Change-Id: I6011203a1f573cbb847e9f57c04aa60bf8278ef1
This change fixes an issue in pkg/k8s/client.TestNewClient in which the
unit test was using the developer's real airship config file. This was,
in some cases, causing unit tests to fail when run locally.
Change-Id: Ic8911b9e72d3e76f0219472ea0a9de5b3b255c3b
This commit adds small fix, a missing 'path' parameter to synchronize
module call
Relates-To: #111
Closes: #111
Change-Id: I5208a0b327ddc75941f82dec671e6869352ed2ad
Future use of secrets will be clunky if it remains as a document
subcommand ex: airshipctl document secret generate materpassphrase
Refactoring so that secrets are now a top level command IE
airshipctl secret ...
Change-Id: I781ef5a4e32dc971f275f758d82d17cedd0f74af
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
k8s.io/kubernetes package is not needed any more since kubectl cli
support has been removed. Therefore we do not need replacements for
kubernetes modules any more
Change-Id: I5d9229c0011881afe8957f0f5957985d5c0b8041
Closes: #63