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
Added 10 script to install required packaged and tools for a bew build node
Fixed docker cmd permisson error in 21 script
Fixed medadata path to use the SITE environment variable in 22 script
Added abibility to configure nocheckout option in document pull
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: Iea7c3e2cdac473188007e218f87889f6c1846bda
controlplane_target phase is needed for target cluster more than a
single node
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: I6e77d4268cdee0ebcc65e1f9172ef645ced53337
Since [1] has been merged it's possible to use
that command to generate kubeconfig in proper
way.
This patchset introduces that changes as well as
cleans up for non-needed anymore due to that changes
steps in gating.
[1]:
https://review.opendev.org/c/airship/airshipctl/+/774709
Change-Id: Ifc07c56c126c782d940a8ca4d111c59c5d3c9c78
Currently secret generation script is hard coded to test-site.
parameterizing it so that we can use the same script for multiple sites
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I501f577952d14541da1cb632e92ae19f577dbd53
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
kustomize is a useful tool for debugging when rendering fails
Relates-To: #504
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: I649c74bb7868a80618617db16dc1f1028c262c11
Since this field is no longer actually used, there is need to
remove it completely.
Change-Id: I9f7002f8def31d1660919bd0128707e43a57ad71
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
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
Pip installation of package with sudo will fail because of permission
issues in home folder. Adding -H option to sudo to fix this.
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I60222b300591aecdbd5e27a0bb86c1c62daca289
Additionally aligned between Treasuremap and Airchipctl to use the same
environemnt variable "SITE" for a site name.
Change-Id: I50494b50691a40efe68996cd11ccede6517b23d6
Signed-off-by: James Gu <james.gu@att.com>
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
Commit fixes CAPD deployment and removes redundant scripts
that check expiration for CAPD site.
They must be tested separately outside CAPD pipeline
Related-To: #482
Closes: #482
Change-Id: I60ffd76a4f3f08bd7bd198a0c2b15483dfbdd6a6
Change ClusterMap API object to support multiple kubeconfig sources
for a cluster. If one kubeconfig source fails, kubeconfig builder
will not fail and move on to the next one. This behaviour will allow
to support cases when ephemeral cluster is not accesible anymore or
when target cluster is not yet accessible.
For more information please read issue #460 in airshipctl github
Relates-To: #460
Related-To: #460
Change-Id: I7cd32f78cd7c4ad8814eac357424c24216f40d76
* Wait for CRD's Established state.
* Wait for CR tigerastatus to show up in api to query
* Once CR is created, wait for its condition to be available.
Change-Id: Ibb83e16a15a7e0e351b6ae030e3e82ce22d41c70
Closes: #442
Updated env variable TEST_SITE to SITE to remove
error with capd deployment
Updated scripts to use phase "initinfra-networking" for deploying
calico cni in target cluster
Change-Id: Ib372e8fe8d1124aa83c5e69a861c523a967c22c9
Isogen executor is not needed any more since there is
iso build phase plan that runs two phases using generic
containers.
Relates-To: #440
Change-Id: I3600e82fa1d8a92cdf103d93cd4536bf4a713cca
The deploy_worker_node script waits for the nodes to come up and
spams the logs as it runs. This change removes -x from the script
in order to remove a lot of unnecessary stdout since the script
already contains several echo statements to indicate progress.
Change-Id: I4c7465b6aa3538ea171f61387035e79c7d852088