StarlingX OpenStack Armada App
Go to file
Lucas de Ataides aaddc97db4 Add `get_namespace` function to OpenstackBaseHelm
After the introdution of [1], it was noted that Helm overrides were not
working properly for STX-Openstack. Althought they show up on
helm-override-show, they we're not being passed to Helm and Kubernetes.
This was caused because the [1] change updated the way that the
overrides are applied, requiring the `get_namespace` function on the
plugin to define where to apply these overrides, and, if this function
did not exist, it would default to the `default` namespace.

This change fixes that by adding the `get_namespace` function to the
OpenstackBaseHelm plugin, which is extended by the other STX-O plugins.

This change also does the following:

1) Updates the base class for ingress, memcached and garbd from
   BaseHelm to OpenstackBaseHelm, as openstack.BaseHelm is the old base
   class for the armada app and probably should be cleaned now that we
   no longer support Armada.
2) Remove ingress customizations for the kube-system namespace, as
   they're not used anymore and can be removed without any impact.

[1] https://review.opendev.org/c/starlingx/config/+/887430

Test Plan:
PASS: Build python3-k8sapp-openstack and stx-openstack-helm-fluxcd
PASS: Build STX-Openstack tarball
PASS: Upload / apply STX-Openstack on an AIO-SX machine with HTTPS
      enabled
PASS: Verify that there's only one ingress pod per component
PASS: After passing helm overrides, verify that they're applied
      (Example: change number of pods from 1 to 2)
PEND: Confirm overrides work for every Openstack component

Closes-Bug: 2036633

Change-Id: Id01a7367335213015531e1e9186b2b1cc677ef8e
Signed-off-by: Lucas de Ataides <lucas.deataidesbarreto@windriver.com>
2023-09-20 15:07:44 -03:00
enhanced-policies Update on enhanced-policies README 2021-12-02 16:53:10 +00:00
openstack-helm Update Horizon SSL Cert path 2023-08-28 10:10:28 -03:00
openstack-helm-infra Fix openvswitch DaemonSet ServiceAccount patch 2023-08-08 10:08:48 -03:00
python3-k8sapp-openstack Add `get_namespace` function to OpenstackBaseHelm 2023-09-20 15:07:44 -03:00
stx-openstack-helm-fluxcd Add missing clients to the aliases scripts 2023-08-22 13:13:41 +00:00
upstream/openstack Merge "Upversion python-barbicanclient to v5.5.0-2" 2023-08-22 18:17:14 +00:00
.gitignore Network Resources Cleanup before OpenStack Removal 2022-06-22 11:08:10 -03:00
.gitreview Add a .gitreview file to the new repo 2019-09-09 08:42:46 -05:00
.zuul.yaml Fix github mirroring for this repo 2023-04-28 12:38:52 -04:00
bindep.txt Add python3.9 support 2021-09-09 11:27:54 -04:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:10:38 -04:00
debian_helm.inc Update .inc files to use FluxCD related pkgs 2022-10-25 16:37:54 -03:00
debian_pkg_dirs Creating folder structure for STX-O upversion 2023-06-15 12:35:11 -03:00
debian_stable_docker_images.inc Creating folder structure for STX-O upversion 2023-06-15 12:35:11 -03:00
requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
test-requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
tox.ini Update tox.ini to work with tox 4 2022-12-23 15:53:55 +00:00