Since we switched to tigera operator to deploy calico, the directory
manifests/composite/infra/replacements became obsolete since it contains
link to cni/calico, which is no longer exists. Also, this directory
isn't used anywhere in manifests, so it can be safely removed.
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #492
Closes: #492
Change-Id: I14d9b9ba192aa9546e198300f81045cc035fe13a
The existing recommendation of 60GB disk space is not enough to configure
all-in-one airshitpctl. It is not easy to expand disk space in virtual box
and other envivonrments and developer needs to recreate the environment from
scratch again.
Change-Id: Ifdb260e443647eb4dc942674ee495c9790e28fe6
Now if we run `airshipctl cluster get-kubeconfig` without args
it will return kubeconfig for the entire site, which will have
contexts for every cluster defined in cluster map.
Relates-To: #460
Closes: #460
Change-Id: Icf1f09724a5c60ac520b1dbcbda69c3280ac4c7e
This adds some context e.g. `v1` instead of just `1`, and matches
what some nearby projects use, such as the kpt container functions [0].
[0]: https://github.com/GoogleContainerTools/kpt/issues/1358
Change-Id: I2026fba873a0f074233e7628de35e53f1f880027
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Instead of a static list, read list of krm-functions from containing directory.
This mirrors what we do for git SHA tag publishing for these images upon merge.
Before this, the cloud-init krm function was missing from the list.
Change-Id: Iacb5bbcc84c5eeb9a6bb6cebbf674c3068f103b0
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Cluster-Api kubeconfig source for target-cluster has higher
priority, airshipctl waits 300 timeout before proceeding
to next source each phase run. This commit will give bundle
higher priority, this will speed up deployments by 5 minutes
per each airshipctl phase run, when ephemeral cluster-api is
unavailable.
Change-Id: I7711d0594a513b7cf9fe3197e90047a9ba96123e
We are hitting docker pull limit on calico images. so switching it from
docker hub to quay
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: If2ef94885098bd87b2441c6eeb3738076fdaee73
Now if clusterName is specified for kubebuilder, Build() method
will return kubeconfig containing only context for that cluster.
If no clusterName is specified kubeconfig will have contexts of
all clusters that builder can build. This behaviour is similar
to `kubeconfig get` command.
Relates-To: #460
Change-Id: Ib3bebf61bc60430d347ded41b2e31249b11126eb
It is not used anywhere anymore as commands themselves were
deprecated and removed in favor of clusterctl move and init
executors.
Change-Id: I526f75d95b70754034f0846edfc9d3e468648ced
ipam yaml was getting downloaded in customization file. This will cause
problem behind proxy. So adding the ipam yaml to respective folder
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Idf0f4b13fb6380363d3cabacfeacc7179f09cff9
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
The gren tool expects the tag name to not include the refs/tags prefix,
so this removes that from the `github.ref` variable.
Change-Id: Ied065b3e021841d0a04d2ccfd6e743171f2a8f54
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
This reverts commit f328c43295541dd2c855e493abd1e746216f9b24.
Reason for revert: Encryption config is no longer needed and
not used in airshipctl config.
Change-Id: I07f5fd035236b8ecbf4ad6dd164acb7e8c98deb5
This reverts commit 694067492cfedd5e7b369b396bfce9923c0ca3a1.
Reason for revert: Encryption configs inside airship config are
no longer required. Encrypt feature was implemented different way.
Change-Id: I1c8feec75000402e314e815e4832ce740f0e1254