Update helm toolkit reference
Update helm toolkit ref so that ingress will be created with a pathType
of Prefix.
https: //review.opendev.org/c/openstack/openstack-helm-infra/+/905757
Change-Id: Iccedcd7b15b2da9ed35748af9809def69b7ae6da
Updates the helm installation script to download and install v2.17.0
from get.helm.sh (instead of v2.14 from storage.googleapis.com).
Change-Id: I5e0ccfc60ff976f7a8d89a9a66ad6da0785a9f2b
The upstream Helm chart repos have moved permanently, causing a failure
when running "make helm-serve": 'Error: error initializing: Looks like
"https://kubernetes-charts.storage.googleapis.com" is not a valid chart
repository or cannot be reached'.
This change skips the chart refresh, since the upstream charts are not
used anyway.
Change-Id: Ic146e09dca6a7d72607a794984376d0fa9bc5475
Use apt to install python3-pip, and use pip3 in event system has
both pip2 and pip3 installed. Use apt to install setuptools for
Ansible's consumption.
Change-Id: I041d4cdfda670339cfbbc75d280c8d9071227f3b
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
This commit introduces a non-voting job to lint Helm charts against the
latest version of Helm toolkit from OpenStack-Helm Infra. This job
should serve as an indicator of when it's safe to advance the version of
Helm toolkit used by Airship.
Additionally, this commit modifies all Helm chart lint jobs to run on
each commit, regardless of the files modified by a change. This should
not introduce a noticeable difference in CI runtime, as these jobs
execute quicker than the tox jobs.
Change-Id: I43e9ef816317d20277bd951b97fd059ec472a234
- Zuul updated ansible to 2.7, no longer allows missing variables.
- Using default value when it isn't available.
Based on Aaron Sheffield's PS for Pegleg: https://review.openstack.org/#/c/645631/
Change-Id: I49de55a9d74e2004786845c1e35ba49e53f71df1
- This PS adds support for password rotation for 'maas-region' password
and 'maas-postgres-password'.
- This PS enables MAAS to use the newly created helm-toolkit
script for postgreSQL DB initialization
Depends-On: https://review.openstack.org/#/c/635348/
Change-Id: Ibb36761351d8c34933a3bb71555bb23e8247a069
troubleshooting purpose
This change is related to Maas
Here are the Change ID's for other airship componets
Shipyard- I09348ab7ac78700badcff557a82049660ac9f5c6
Airflow- If8fd5983fd589ddf07b960d38e0081cfb0237003
Deckhand- I2763ae7ea62e78c9dd89659f97b149ab000d0ebb
Drydock- I88c8cd6a56771cf6e97cfa874dc63963e247a890
Armada- I5edd13d2a2c06f844bef1595e045208f53af4e71
Promenade- Ibbbf65ad815fb8c9e6ede468eda12bec863bc474
Change-Id: I61e4daaac5b6c01dbe59b6d11e343c2b77483cbf
All containers were already running in non-privileged
containers except region-controller and rack-controller.
Both of those require privileged containers but
can still function with the docker-default apparmor
profile applied.
This PS uses the new, more generic HTK snippet name
(see https://review.openstack.org/613703).
Change-Id: Icaa720f05b18f4264ae7098b427fe5f639cba2c6
Upgrades to the MAAS chart to allow for the Pods
running the rack and region services to work across
all control plane hosts.
Change-Id: I84c856599a1122a2b4a64242a7cea357887b0462
1) Use OCI Image Specs for labels instead of custom 'commit-id=xxxxx'
or legacy "Label Schema"
2) Fix missing git commit id labels on images (.revision)
3) Add human-readable title (.title) of the image, URL (.url), and
a few other properties (annotations) according to the latest Specs
Change-Id: I8ee3aef8d64efe6237f630caab3683f7137d4e68
This PS updates the maas chart to support modern helm toolkits.
Change-Id: Id70343afdec622dc84b89b0d7f496e9ef498ea6b
Signed-off-by: Pete Birley <pete@port.direct>
This PS removes the duplicate hardcoded htk reference from the make
script.
Change-Id: I3c816575b6a3cacd9e62dedfea95e552a16a95a5
Signed-off-by: Pete Birley <pete@port.direct>
This PS updates the make scripts for charts to use the current version
of helm targetted by ariship.
Change-Id: Iff9d0cd3a9c9107b83d34872c6efaf945203286b
Signed-off-by: Pete Birley <pete@port.direct>
l is to let user customize the base image of the component
by passing FROM=myimage during the build process. This would let any
project leveraging Airship ensure that the base image is matching the
security requirements for that project and still use the same Dockerfile.
This will also ease the control of the /etc/apt/source.list
and thereby the result of apt-get update/upgrade procedure.
2. The above goal is achievable by using docker-ce feature such as:
ARG FROM="defaultbaseimage:xx"
FROM ${FROM}
For this reason, the installation of docker.io in the Zuul gating is beeing
replaced by docker-ce.
3. Third Goal is to bring consistency with the other compoenents leveraging
Helm such as the openstack-helm and potentially use bindep the same way
the LOCI images are to ensure
4. The new syntax in the Dockerfile is still commented out until the associated
image builder have been updated to use docker-ce as they have been for the LOCI
images.
Change-Id: I9a9d63329bea2b562f297705dc51661896a592f2
- When a bootaction returns a tarfile with nothing in it,
the curtin script fails and causes a failed deployment. This
fix supports empty tar files.
- Pin to a old helm-toolkit commit to avoid breaking changes
Change-Id: I68c1f0ab3247b901e0dc9041c86ddf4d63e036ff
Create a simple Helm test to ensure the Region controller
is functional enough to allow the MaaS CLI to establish
an authenticated session with it.
- Also make image cache disabled by default
- Fix init container args for HTK
Change-Id: I67e688efb91198cd31d3972e09808cea3361570c
- Move Dockerfile for MaaS region controller to this repo
- Move Dockerfile for MaaS rack controller to this repo
- Create Makefile with standard UCP entrypoints for image building
- Clean up chart to pass 'make lint'
- Update Dockerfiles to pin apt packages to explicit maas version
Change-Id: I4a540b16a4f75f4a1aae1eb9cfb1bb7a16de18d6