This adds a phase to wait for the target cluster to become initialized,
directed at the ephemeral management cluster. It re-uses the helper script
already used by the `kubectl-wait-cluster-target` phase, adds parameterization
so that it can watch for both controlPlaneInitialized and controlPlaneReady
conditions, and adds the new phase to the phase plan.
Lack of this waiting was causing errors in some environments.
This also adds a kubectl-wait-node-target phase definition,
in case we ever want to make use of it.
Change-Id: Ic18742dd59a7901b0d985b8c11260bc1b3527a30
Treasuremap virtualized testing is failing frequently due to timeouts:
- very frequently for workload deployment
- occasionally for controlplane deployment
This bumps both timeouts to unblock gating.
Change-Id: Ie26438afe65f2a5a123527e8c2a1bdec04cb04fe
* This commit will fix capitalization of error message in
templater.go file
* And will also fix typos in some of the docs file
Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Change-Id: Ic37df3151c33559db971fc85a41c540281828de0
helm-controller: v0.11.1
source-controller: v0.15.3
This brings in an increase in the default leader election
deadlines, in order to hopefully reduce the impact of any
cluster instability during reconciliations, particularly
with helm releases getting stuck in pending state:
[0]: https://github.com/fluxcd/pkg/issues/94
[1]: https://github.com/fluxcd/helm-controller/issues/149
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: I8e989aead88ffde7812a19e66ee039326d7c3fee
This change updates the airshipctl virtualized testing env documentation
to clarify the differences between airshipctl and treasuremap
environments. It also moves the documentation to its own page, as not
all pre-reqs on the Developer's guide are required for the virtualized
testing environments.
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I6c2e8ff0f1bc21622fa38f06cf5af6d6ee01cd72
* This commit fixes the bug of flux source-controller proxy var replacement
to include proxy env settings to match HTTP_PROXY, HTTPS_PROXY and NO_PROXY
Change-Id: Ia6943529abf4e8afa7c5495316b8173e6c89cf9c
Relates-To: #550
Closes: #550
The below code adds check zuul gate to verify
that for every cli added to airshipctl appropriate
documentation is generated.
Closes: #280
Change-Id: Iba0f4393b9785190536aae2a13109ddb75fd0ef8
When using the script 10_build_gate.sh the ansible playbook was
installing an older version of kustomize, i.e., v3.8.5.
If you use the old kustomize version to render
treasuremap/manifests/site/reference-multi-tenant/target/workload it
will fail.
You will need kustomize v3.9.4 to be able to render the folder above.
Change-Id: I42425c32705c0c9dde3881cd890e135897b2ac23
Added ability to run deployment scripts directly (not via ansible),
to be able to observe realtime output from commands.
Change-Id: I736b075d6ecf0d7badc1e7703f9238339ab09592
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This command is obsolete and can be safely removed. All the secrets
functionality now is part of SOPS krm function and phases.
Change-Id: Ia8244e51aa8c28f1ac07734e4f4afc6ee59e4021
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #588
This command is outdated and no longer needed, according to the
design call it should be removed.
Change-Id: I7c96fdd8cbc21c56ad9d0d6291ea9b6c6626735d
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #588
This command is outdated and no longer used, according to the design call
it should be removed.
Change-Id: I5953f0c66e9cee40c070afe148aa98c9d07113f7
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #588
This PS updates the gcp-test-site to work with phasePlan
kubeval validation configuration.
Includes the gcp-test-site in the site validation.
Relates-To: #528
Change-Id: I0b0d8aafa39730d0cb21e3d0a837a4a4b5909645
Current modified go code, generates RsT files for each airshipctl
cmd and places them in a folder specific to the airshipctl subcommand.
It also generates the index.rst file for the specific airshipctl
subcommand folders. These generated rst files are appropriate to sphinx,
so that they can be easliy rendered in docs.airshipit.org
Steps to render the document locally
* Install sphinx: python3 -m pip install sphinx
* Clone airshipctl: git clone https://github.com/airshipit/airshipctl.git
* Download current PS: cd airshipctl; git fetch "https://review.opendev.org/airship/airshipctl" refs/changes/50/789250/2 && git checkout -b change-789250-1 FETCH_HEAD
* Build sphinx html pages: cd docs/source; sphinx-build -b html . _build
* Run local server: cd _build; python3 -m http.server
* Open URL to access the page: http://localhost:8000/ navigate to commands section access the document
Relates-To: #280
Change-Id: Ifa1dafc7b296014cc826072ac2c52f4488421352
'make manifests' attempts to generate all airshipctl API types,
but several types throw errors and the resulting CRDs can't be
properly generated. This change:
- updates the controller-gen version to pull in a bug fix for the
error 'map values must be a named type, not *ast.StarExpr'
- modifies the Templater type's Values member to be of type JSON
since controller-gen does not support map[string]interface{},
and unmarshals it separately in the templater itself
- adds 'image_repositories' to the VersionsCatalogueSpec struct
to ensure it doesn't get deleted from the schema when manifests
get regenerated
- checks in generated copies of all CRDs from airshipctl's API
types, not just catalogues, to be used for validation
Closes: #574
Change-Id: I89a12cfd307a08da9aaec9773eac01169ea43ace
When we copy sops commands from github dev guide, it also
includes '-' which makes commands incorrect when we past in
terminal. So removed it from sops commands.
Change-Id: I7da808606ce4a9196a1ecd6f0dc503c8aced4e76
SIP cluster scheduling relies ultimately on labels on the underlying
BareMetalHosts for rack and server name.
This change allows operators to optionally add labels to BMHs
that are generated by the hostgenerator-m3 function, and gives
an example of how to use it.
Change-Id: Icc35ef81fc3a9fc6e6e89dc7ba58a385469cdf68
This reverts commit bf7c04d13f3c456c4d7fd29c30e83cfb6d66712a.
Reason for revert: We just realized that passing NTP and chrony.conf both is not needed so reverting this changes.
Change-Id: Ifa3ee40316871addb05cd8196baf9e4daa5eb8a6