Commit Graph

17 Commits

Author SHA1 Message Date
Ritchie, Frank (fr801x) 962db46114 Update helm toolkit reference
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
2024-01-23 17:34:07 -05:00
Ruslan Aliev 2d5b698d9e Switch PVCs to use storageClassName
HTK and Helm versions are also updated.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: Ia1ef4ec23f53dcb591e139c3476e143a55351fd3
2022-09-16 19:02:23 -05:00
Phil Sphicas 666567eae5 Update chart to use stable Kubernetes APIs
Update the MAAS chart to use non-deprecated APIs [0], specifically
addressing the following resource types:
* ClusterRole
* ClusterRoleBinding
* Ingress
* Role
* Rolebinding

The APIs being migrated to are available in v1.19 or earlier. As of this
change, v1.19 is the oldest supported Kubernetes version, slated for EOL
on 2021-10-28. [1]

Also includes an HTK uplift that includes updated Ingress templates. [2]

0: https://kubernetes.io/docs/reference/using-api/deprecation-guide/
1: https://kubernetes.io/releases/
2: https://review.opendev.org/c/openstack/openstack-helm-infra/+/813115

Change-Id: I5e78f1ab094666538ed419a78f6966a2ba295d6a
2021-10-18 11:52:30 -07:00
Sean Eagan 983853de55 Helm 3: Fix Job labels
See the dependency below for details.

Depends-On: https://review.opendev.org/c/openstack/openstack-helm-infra/+/811826
Change-Id: I997313865002469f1916c5baa8ccaa26c37619b5
2021-10-01 13:40:45 -05:00
Maximilian Weiss 3accf71685 Update HTK stable commit to 0.2.19
Update helm-toolkit stable commit to merge of this change:
https://review.opendev.org/c/openstack/openstack-helm-infra/+/802925

Change-Id: Iafd86a087dbf04ce49c8d0a427305219d1d0483e
2021-08-17 17:47:09 +00:00
Phil Sphicas ff7676e58e Ignore upstream chart repos when installing Helm
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
2021-01-07 19:59:13 +00:00
Phil Sphicas 294980dfa9 Update HTK stable commit
Update helm-toolkit stable commit to merge of this change:
https://review.opendev.org/#/c/734702/

Change-Id: I770334c5a2ca58980d6eae013150e0f8127f22cf
2020-07-28 16:32:11 +00:00
Drew Walters 06fed6c019 tools: Update Helm to v2.13.1
Helm v2.13.1 has been released [0]. This change uplifts Helm to v2.13.1
and restores usage of the latest Helm toolkit to match other Airship
projects.

[0] https://github.com/helm/helm/releases/tag/v2.13.1

Depends-On: https://review.openstack.org/647812
Change-Id: I51ea78088a5c37991e6531435018798e420a6e05
2019-03-28 15:21:38 +00:00
Nishant Kumar 20df4f6eaa Support for password rotation
- 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
2019-03-05 18:45:22 +00:00
Crank, Daniel (dc6350) 2aaca3f60b Apparmor profile for MaaS
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
2018-12-07 16:17:11 -06:00
Scott Hussey 74af40376b MAAS support for pod mobility
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
2018-10-23 08:19:53 -05:00
Pete Birley 582c4d8b20 Chart: Modernise chart
This PS updates the maas chart to support modern helm toolkits.

Change-Id: Id70343afdec622dc84b89b0d7f496e9ef498ea6b
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-22 21:53:33 -05:00
Pete Birley dfb92ce07f Charts: remove hardcoded htk reference from make script
This PS removes the duplicate hardcoded htk reference from the make
script.

Change-Id: I3c816575b6a3cacd9e62dedfea95e552a16a95a5
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-23 02:25:02 +00:00
Scott Hussey eb73ba58b5 [Fix] Fix empty bootaction tar files
- 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
2018-06-12 09:46:43 -05:00
Scott Hussey 90a5ed3e78 (zuul) Basic zuul gates
- Charting linting

Change-Id: I7c15ba455bab3d2c9d8b458de1d7ebe15e1c97a4
2018-06-01 11:57:45 -05:00
Scott Hussey 2ad9dd1e19 Add rudimentary Helm test
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
2018-01-06 19:10:39 -06:00
Scott Hussey 840075ca88 Move Dockerfiles into maas repo
- 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
2017-11-27 12:40:00 -06:00