Added support to accept regex parameter as part of `airshipctl secret
generate encryptionkey` command. This allows user to pass regex parameter
so that the passphrase generated matches the regex.
Relates-To: #398
Change-Id: I3914e6a896bb669e3974fe67c466336e15989a8d
Currently airshipctl will overwrite an existing config file
by default during config init execution. This patch adds an
appropriate flag to explicitly control whether the user wants
to overwrite an existing file or not.
Change-Id: I9f4756b98e9d1245145809aed203974e99feb662
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
When a new tag is pushed (and mirrored to github), this github action
generates release notes, and creates a draft release which can be
published via the github UI after any manual verification or edits.
An example draft release, generated using act [0] is available for review
for those with sufficient access:
https://github.com/airshipit/airshipctl/releases
This could be extended in the future to accomplish other release tasks:
- add version-tagged image to quay
- integrate with goreleaser[1] (publish go binaries)
- publish documentation
[0]: https://github.com/nektos/act
[1]: https://goreleaser.com
Change-Id: Iedb70b0c330df0356fa74d94c1d4a45c3343cc2e
Relates-To: #354
Closes: #390
* Images added to clusterctl object like Providers
So that repository and tag for one or all of the cert-manager
components can be overriden using patch/replacement
clusterctl Documentation for Image Override:
https://cluster-api.sigs.k8s.io/clusterctl/configuration.html#image-overrides
Change-Id: Id9de8d1967e49aeb3293f6802e51d66d598333ae
Closes: #350
This patchset provides utility to generate CA crt and keys. This
is needed for `airshipctl secret generate certificate`
Design Document : https://hackmd.io/@sirishagopigiri/HkXlX-mLv
Relates-To: #402
Change-Id: I5a7c3aba636a8a03523e243f6487b766125f4222
OpenDev Zuul CI hosts cache of docker containers on
{{ zuul_site_mirror_fqdn }} host. Set up docker on main VM to use it.
This change reduces time needed to run majority of our jobs by 1-3 min.
Change-Id: I6f7c88ff0e45fb48a0fa1369c6dc593f85cb7c3e
Recently, Docker.io imposed container registry pull limits, and we have
exceeded them. This has impacted continuous-integration testing in this
repository.
This change updates our base Go images from those hosted on docker.io to
gcr.io in order to circumnavigate pull restrictions.
Change-Id: I2a990846b1a49010ff2a403d99413d8162322804
Signed-off-by: Drew Walters <andrew.walters@att.com>
This interface will be used by executors and other
commands to interact with remote hosts.
It is split into generic inventory and BaremetalInventory to
keep open door for cloud providers. In the future, if we
decide to that we need, for example list VMs in google, azure,
openstack or any other clouds, we would extend inventory interface
with approprate more sepcific inventory such as OpenstackInventory
etc...
Relates-To: #297
Change-Id: Ie19ed6047390e09a658c1e943b5e83d88e9668bf
This will allow to add constructors that return interface
instead of struct.
Relates-To: #397
Relates-To: #362
Relates-To: #359
Change-Id: Ia750d5c9472041b34ab74a2935ef77ae955a016e
Update CAPO provider manifest to inherit clusterctl from
functions and patch the infrastructure provider details
Add capo versions in base-catalog
Change-Id: I8f1f59857dcbf163af01a5a766451e6579ded148
The below code changes the `airshipctl secret generate masterpassphrase`
command to `airshipctl secret generate encryptionkey`. This command will
be further enhanced to support regex fields while generating encryption key.
Relates-To: #398
Change-Id: I87626cb410fd19beeb8cd23a5b86d61c48b63e63
* Change templater image tag from dev to latest
* Change replacement-transformer image tag from dev to latest
* Change Makefile to build images with tag latest
Change-Id: Iff074d6fe771cce48dae7190fbc69cc437138817
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
The airshipctl gate runner consumes 16GB RAM VM node. Currently we have
insufficient compute capacity to run it on every patch set change.
This patch set makes gate runner run only on request and on Zuul gate
(pre-merge) to reduce workload imposed onto community CI.
Request to run airshipctl gate runner is a comment
"check experimental"
left to a patch set in Gerrit.
Change-Id: I5cb2a80b5cdc9dd025249e313d29eab62cbb3446
This change updates the proxy guide to work with the latest airshipctl
proxy implementation [0]. Whereas users previously needed to modify YAML
documents to use Airship behind a proxy server, users now only need
environment variables.
Additionally, this change includes instructions for using custom DNS
nameservers.
[0] ed1619d336
Change-Id: Ib03293c4f4fa58df60fb48ab8a76227a48ea6fbe
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit will add clusterapi name and namespaces with a given cluster
to a clustermap.
Refer code from this PS: https://review.opendev.org/#/c/759805/
Change-Id: I1937efa0bbf0b5b175d18777fdf4ba837d1d7344
Relates-To: #376
Closes: #376
Adding the following method to the interface and implementation for
docker container:
- InspectContainer() - used to determine container status
Change-Id: I4a8096f4f5addad31daa5038a30b1ffcf1d424e9
* Recently the lint and test jobs are separated
* update the reference to lint and test job names
marked as dependency for azure gate runner
Change-Id: I9bf495143b14d248c54c20e4814ac236b167eba1
This adds functions for the helm-controller and source-controller from
Flux v2 [0]. The helm-controller depends on the source-controller and
so this includes a composite to wrap both. These components replace the
Helm Operator, which is now removed from the gating setup. The Helm Operator
function itself will be removed after a suitable migration period.
This also adds a format for Helm chart and Helm repository sourcing
to the versions catalog.
[0]: https://fluxcd.github.io/flux2
Closes: #372
Change-Id: I7287f1bb5b1ebd1dba9920cc0bed8c867720b4c1
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
A previous patchset was intended to accomplish a two-part substitution of
container versions into CAPI components, to work around assumptions held
by clusterctl:
(versions catalogue) --[ReplacementTransformer]--> (Clusterctl YAML)
... then
(Clusterctl YAML) --[clusterctl library]--> (CAPI manifests)
However, only the second leg (the hard part) worked right; the first part
had gaps which are fixed by this change.
This also adds the CAPD container definitions to the Clusterctl variables.
Change-Id: Ifaca46f6dd3b87c28753cd49b52e62556ead52bd
Closes: https://github.com/airshipit/airshipctl/issues/389