This patch introduces ability to validate phases using kubeval.
Appropriate functionality was embedded into phase/plan validate
command.
Change-Id: I1e1ccae2b7e4948bdc97a199c96c07a3eb7292b2
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #503
Closes: #2
Closes: #19
This allows errors to be passed from a container to
the airshipctl itself. Without this flags container will never fail.
Relates-To: #517
Change-Id: I20254f868bd85af44980acc656ca0fb401779bbc
This commit adds missing images in versions catalogue
that are being used in manifest.
Change-Id: I0c2ee3fa2062cb0dbf7c843e1b5ed52f718429c8
Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Relates-To: #498
Update the hwcc image in version catalogue.
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I9c3570891058d615332ab498d38a1b874f90f851
This commit adds new label to controlplane node so that HCO works
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I8cf3efc19bc4b78a6be04af5f28ad300990273e7
Modifies the schema for the VersionsCatalogue CRD to allow
images to also be declared using the Helm-style format of
'repository' and 'tag' (or 'sha', 'digest', or 'hash').
Closes: #511
Change-Id: I9b22bb9c3ed814bf0d2b6f7dc1e540d9370eae7c
Extends the NetworkCatalogue schema to include additional fields
for link objects in the commonHostNetworking.links array.
Change-Id: I562a5da8a8083b816d7111e462607d8e5c862aa0
Correct the user for ssh in replacement
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I48a04a8d9be1c05fe36b78c27c4fec2cfc7f4daa
It seems "stub" directory was created by mistake since it's empty
and has no relations in airshipctl code and manifests.
Change-Id: I1bb8b98d019ab02c9cdbb553ed5db6f99e560d0f
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit adds toleation for taint master:NoSchedule so that
helm-chart-collator deployment will be successfull
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I4c5115a57596984247f7540d2acefd315ef99da4
* Private and public key will be generated during
`phase run generate-secrets`
* generated public key will be used to replace the
place holders in the manifests and the same will be deployed
on nodes.
* This can be used to prepare inventory for
Hostconfig operator to manage nodes.
Depends-On: https://review.opendev.org/c/airship/airshipctl/+/783718
Change-Id: I780f6f6acce3df2fb3ba2f94e732fe34ddfb0454
This change ensures that catalogue CRs (i.e. networking,
versions) are validated when running validate_docs script.
Also fixes:
* problem encountered with the creation of the ironic-vars
ConfigMap when a non-string data type was used as the
replacement target value.
* amends VersionsCatalogue schema to allow an optional
'ipam-manager' object in capi_images, necessitated by
a change to the capm3 function[0].
[0] https://review.opendev.org/c/airship/airshipctl/+/780297
Closes: #476
Change-Id: Idd05eb046e411b757b7d4f7b21a9b89b6cc51bb6
During our work we used personal images, because
there was no upstream available. Now when the
upstream is avaialbe - we're changing all urls to it.
Change-Id: I6e8344723e343c4396304d68908fae328d139434
This commit introduces an ability to consume
AIRSHIPCTL_EPHEMERAL_ISO_URL environment variable. Also
it switches from phase patch to catalogue and implements
corresponding replacement transformer for remotedirect
variables.
With this code isoURL catalogue value is only used in an
absense of AIRSHIPCTL_EPHEMERAL_ISO_URL.
Airshipctl does not control how an iso is served leaving it on
discretion of deployment pipeline, also iso contents are fully
determined by image-builder image and manifests, thus this change
does not violate GitOps principles.
Change-Id: Ie6eebe0f0502b2f8e41b081281336299c63f5e4d
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
Input for this executor could be empty, so we have to handle
ErrDocumentEntrypointNotDefined error more intelligently.
Change-Id: I73e0f770e64cead7dbbbce2af2b7a2ebd323b83b
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #485
Closes: #485
Added 2 phases:
1. secret-reencrypt - This phase can be used to
reecnrypt the existing secrets with new key.
To do so SOPS_IMPORT_PGP must contain
old public key and new private key (but
may also include other data).
SOPS_PGP_FP must contain fingerprint of
new private key.
2. secret-show - This phase may be useful for some users
that need to see what generated by secret-generate phase.
Disabled SOPS debug by default.
To enable it back run commands with
env variable DEBUG_SOPS_GPG=true
Change-Id: Id7fe13d6943d386577df25dba4aaa83e62e58980