413 Commits

Author SHA1 Message Date
Doug Goldstein
3bc47c1e93 feat: add extraObjects to every chart
Add an extraObjects list to every chart which will allow
user to extend each Helm chart with other data they need.
It utilizes Helm's built in templating so they are able
to include references to other variables like the conf
to include data in their objects.

Change-Id: I33431d50068bf135b28f6cbfc329ede9274d4bc9
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2026-03-03 08:19:40 -06:00
Mathieu Gagné
42fd5a3bb3 Remove support for Helm 2
This change removes the helm3_hook value across all charts.
It is no longer possible to set helm3_hook to False to support Helm 2.

Change-Id: I22b38b9ae336a49dfaf93c7605ecbf6cedcfc1c1
Signed-off-by: Mathieu Gagné <mgagne@calavera.ca>
2026-02-26 14:08:06 -05:00
Zuul
0dae6a77b2 Merge "Add support for etcSources to db-sync job" 2026-02-25 22:15:37 +00:00
Zuul
77d6946eed Merge "Add OSLO lock path to all OpenStack services" 2026-02-25 18:28:26 +00:00
Doug Goldstein
645bfa08a5 Add OSLO lock path to all OpenStack services
Add a dedicated writable emptyDir volume for OSLO's
file-based locking mechanism to all OpenStack services.

Affected charts:
aodh, barbican, blazer, ceilometer, cinder, cloudkitty, cyborg,
designate, glance, gnocchi, heat, ironic, keystone, magnum, manila,
masakari, mistral, monasca, neutron, nova, octavia, placement, tacker,
trove, watcher, and zaqar.

This ensures proper file locking functionality in Oslo libraries within
containerized environments and prevents lock file conflicts.

Assisted-by: Claude Code 2.0
Change-Id: I3ee46d9550bc6f2a6632bec748efe0be646a82b3
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2026-02-23 22:01:06 -06:00
Mathieu Gagné
fd074471ac Add support for etcSources to db-sync job
This change adds support for charts already supporting etcSources:
- aodh
- ceilometer
- cinder
- glance
- heat
- keystone
- neutron
- octavia
- placement

Change-Id: Ie6e2397627ecfe88cc0a1a5af3214ad747153519
Signed-off-by: Mathieu Gagné <mgagne@calavera.ca>
2026-02-23 15:39:24 -05:00
Mathieu Gagné
4aa8e5da50 feat(keystone): allow users to provide configs in keystone.conf.d
Allow users to provide additional projected volumes to be mounted into
the various deployments, statefulsets, and jobs that the keystone chart has
in the /etc/keystone/keystone.conf.d/ path. This allows for users to provide
service account or database secrets via different operators as well as
provide ways to use the chart to define common deployments while being
able to have site specific overrides.

Change-Id: I94425d2003cfc2d133249df79b196a1e8dca4370
Signed-off-by: Mathieu Gagné <mgagne@calavera.ca>
2026-02-20 08:30:21 -05:00
Vladimir Kozhukalov
0b5a30b347 Use HAProxy ingress controller by default
Ingress-nginx is deprecated and is going to become
unmaintained after Feb/2026.

See details here https://www.kubernetes.dev/blog/2025/11/12/ingress-nginx-retirement/

This PS adds support for HAProxy-ingress but does not
remove the ingress-nginx support.

Also default ingress class name and annotations are updated
to make them more implementation agnostic.

Change-Id: I1cbcd2ce0534bf865e484370297ca17c1b1af4e0
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2026-01-05 12:23:42 -06:00
Sergiy Markin
9b270fe356 Switch from heat to openstack-client image
Depends-On: I4e4dee8b172623f5be31a4b3aa5fc8a58d25999e
Depends-On: I4f0d3922672db8e441e319dd292216d5fc170479
Change-Id: I6bd8a7b246288eb4b4c23580b9ab468e7ca6770a
Signed-off-by: Sergiy Markin <smarkin@mirantis.com>
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-12-17 22:46:17 +00:00
Doug Goldstein
22d56f0ad3 keystone: provide default WSGI script for apache
Provide a WSGI script for Apache to use to start up Keystone since Keystone
stopped shipping their own entrypoint. This is done in a way that users can
override it and the container has less moving pieces at startup.

Change-Id: Id32f8eb5bacea389d388d2483454d4a01ef608be
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-12-09 10:55:16 -06:00
Doug Goldstein
67d572ae99 keystone: log errors to stdout
This ensures all errors go to the kubernetes logs and not to a file in
the container when something happens outside of the virtualhost.

Change-Id: If2ceef3591eeb2f735b26bb8b115b18467f98c22
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-12-09 10:27:49 -06:00
Nicholas Kuechler
ab09255170 feat(keystone): Adds optional settings backoffLimit and activeDeadlineSeconds to the keystone bootstrap job.
Change-Id: If601932db2b40e0b68a289c15ef2dabf811c6d50
Signed-off-by: Nicholas Kuechler <nkuechler@gmail.com>
2025-12-04 12:19:33 -06:00
Vladimir Kozhukalov
40c03a469b Update kubernetes-entrypoint image
Wherever we use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu-focal
let's use latest-ubuntu_jammy tag.

Change-Id: I20dd389f6d8c948ae2a3f77a59a3efd0ffb2cd7d
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-11-24 17:10:13 -06:00
Vladimir Kozhukalov
b2a515d52d [keystone] Use keystone native wsgi script
Change-Id: I6c18c67c2a3d868352a5a80aac2ab99dcfd09c8f
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-11-04 14:49:14 -06:00
Vladimir Kozhukalov
24d1f3d008 Update versions of all charts to 2025.2.0
Change-Id: Icd19e2a775609749ce7c19b1b876a9ed52535991
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-10-17 08:46:07 -05:00
Vladimir Kozhukalov
a57c570fe6 [keystone] Use wsgi module (wsgi script removed)
Change-Id: I6a6d3a027acbbcbe49f72399425e83d071f6cc19
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-10-02 09:12:18 -05:00
Vladimir Kozhukalov
0493393655 Remove overrides for unmaintained releases
Also update default image tags on the most recent
SLURP release 2025.1

Change-Id: Idb6d7de2c1d35a1fdb0df6eeb17dd07309c90b29
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
2025-09-27 04:24:31 -05:00
Takashi Kajinami
ab568db885 Remove option for apache < 2.4
apache 2.4 was released long time ago and is now available in recent
operating systems.

Change-Id: I7a2bdaf7f0105d444f598581f1b3d5d493a8acfe
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-25 01:05:08 +09:00
Doug Goldstein
a396e01985 fix(keystone): ensure fernet and credential keys are not deleted
Ensure that we do not delete credentials and fernet keys when deploying
an upgrade of the chart.

Change-Id: I89f5e2fa5f3e1a436ea747a0ab1472159f637e90
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-09-02 16:50:08 -05:00
ricolin
40f6dc8e64 Enable {priority,runtime}ClassName
Co-Authored-By: Dong Ma <winterma.dong@gmail.com>

DependsOn: I75112c5aef7a32287a5f8d9e79b7a88ff82277e7
Change-Id: I1de5f4998451154329ffd5c974d9db2dbf7d16bc
2025-05-16 16:50:36 +00:00
Vladimir Kozhukalov
49c1174433 Update versions of all charts to 2025.1.0
Also update chart_version.sh script which
counts the number of commits since the BASE_VERSION
if BASE_VERSION tag is found. If the tag
doesn't exist it counts the number of commits since the
beginning. So when we use for example 2025.1.0 as
the BASE_VERSION but the tag 2025.1.0 is not yet created
the version of the e.g. nova chart will be calculated as
like 2025.1.563+<sha> and then when we create tag the nova version
will be 2025.1.0+<sha> which is undesired.

Lets use BASE_VERSION-<sha> if the tag is not found.

Change-Id: I032e8269ab17b490898d190adaec5c282e96fa88
2025-04-16 12:32:26 -05:00
Vladimir Kozhukalov
e54398295b Fix test jobs after merger with openstack-helm-infra
Change-Id: I33ddc40ba122b53f3b6f20a694177d9aaf15fc71
2025-03-18 22:44:56 -05:00
Vladimir Kozhukalov
adc22b613b Update yamllint.conf
This PR updates the yaml linter configuration
to align it with what we have in the osh-infra
repo.

Change-Id: I3585fdc6663b2ae7bfb5c1d8a13672ac3055bf86
2025-03-12 22:59:57 -05:00
Doug Goldstein
1ecc9eac16 keystone: use oslo.middleware healtcheck instead of v3 endpoint
Instead of hardcoding the liveness and readiness checks against the v3
endpoint, use the oslo.middlware healthcheck endpoint instead.

Change-Id: I0a8b6e0fb195dff8c7cfe8ccd2484cfcc980c791
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-01-30 00:06:53 -05:00
Zuul
bb64b3a938 Merge "keystone: fix the number of max active fernet keys" 2025-01-24 21:51:29 +00:00
okozachenko
3114c8996a keystone: fix the number of max active fernet keys
As services are configured to use ServiceToken auth, the formula to calculate the max_active_keys is max_active_keys = ((token_expiration + allow_expired_window) / rotation_frequency) + 2

Change-Id: I4794e11fe307b16f3a1dca65ec2feb619661142f
2025-01-22 12:23:08 +11:00
Vladimir Kozhukalov
54b3ff1f49 Use loci images by default for all charts
Loci builds Openstack images nightly and publishes
them to both Docker Hub registry and to Quay registry.

Quay registry has much more tolerant rate limits, so
for users it is more convenient to use quay.

Change-Id: Id5c8776202a8c10a7aebccdae174880743dbdd09
2025-01-16 05:43:11 -06:00
Vladimir Kozhukalov
1483987d2e Update versions of all charts to 2024.2.0
Depends-On: Ia064d83881626452dc3c0cf888128e152692ae77
Change-Id: I3c43bbc1e82cc6afbe90056fe4173d774b8c24db
2024-12-21 17:28:15 +00:00
Vladimir Kozhukalov
79f3ddfa17 Update Chart.yaml apiVersion to v2
Depends-On: I66dcaedefd0640f8a7b5343363354ba539d70627
Change-Id: I25a9354dff75cf4e02c28c0e756c360df7807778
2024-12-16 17:43:52 -06:00
Vladimir Kozhukalov
a8416f968e Move values overrides to a separate directory
This is the action item to implement the spec:
doc/source/specs/2025.1/chart_versioning.rst

Depends-On: I327103c18fc0e10e989a17f69b3bff9995c45eb4
Depends-On: I7bfdef3ea2128bbb4e26e3a00161fe30ce29b8e7
Change-Id: I4974785c904cf7c8730279854e3ad9b6b7c35498
2024-12-13 15:25:19 -06:00
Vladimir Kozhukalov
bdeb6412a3 Add 2024.2 overrides
Depends-On: I783bd05bdd529c73825311515e1390f3cc077c4f
Depends-On: Ic43f14e212f4de6616b4255bdd5ce562c5bcf9b0
Change-Id: I48ec926258b2f8e409ff47e0c858977126698241
2024-10-15 20:20:29 -05:00
Vladimir Kozhukalov
cefe51327b [keystone] Align db scripts with Sqlalchemy 2
Depends-On: I52db7dd4563639a55c12850147cf256cec8b1ee4
Change-Id: Iebf6575d140efb16201fb8c05d16e1e9516d4691
2024-10-10 18:05:06 +00:00
Vladimir Kozhukalov
c09f566c9e Update kubernetes-entrypoint image
Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal
by default instead of 1.0.0 which is v1 formatted and
not supported any more by docker.

Change-Id: Idf43d229d1c81c506653980b5e8cd6463550bc5f
2024-07-11 12:56:20 -05:00
Vladimir Kozhukalov
dcb30a5ebe Align db scripts with sqlalchemy 2.0
Change-Id: Icb8085fabc6661226b0d8e3fdc7ed7d3afa478be
2024-07-10 14:23:06 -05:00
Vladimir Kozhukalov
79edaad3bf Update default images wherever possible
- In some charts third party images are used.
  Need inspection which of them can be updated.
- For some charts we don't build images.
  For this case let's build images for active
  projects and probably retire charts for retired
  or inactive projects.

Change-Id: Ic9e634806d40595992d68c1fc3cd54b655ca5d02
2024-04-30 19:55:33 +00:00
Tadas Sutkaitis
1df157aa08 Enable custom secret annotations
Enable custom annotations for secrets [identity, oslo_db, oslo_messaging, oci_image_registry, tls + other per chart specific]

Change-Id: I843e665f71aeb171185845e1d6f0a18fab030061
2024-04-22 23:31:27 +03:00
Doug Goldstein
fe4719d1c9 keystone: fix custom annotations without helm3 hooks
Fixes 3458483fa

Change-Id: Iaf7fadf1b6ccfe701784a61f1f76bd0d8b43d0bd
Signed-off-by: Doug Goldstein <doug.goldstein@rackspace.com>
2024-04-09 17:17:38 -05:00
Doug Goldstein
3458483fab keystone: allow custom annotations on jobs
Depends-On: I5d60fe849e172c19d865b614c3c44ea618f92f20
Change-Id: I2b2b9bcf6d7dd6e7513bd76ca6714acc77eb86d1
Signed-off-by: Doug Goldstein <doug.goldstein@rackspace.com>
2024-04-05 21:59:30 -05:00
Vladimir Kozhukalov
e3f7a67971 Add 2024.1 overrides
Depends-On: Iefe943b6fa608cafcda418cedf48b5148eefadd1
Depends-On: Iadc9aec92b756de2ecfcb610e62c15bdbad4bb9e
Depends-On: Icf98f9af863f60fa93ff70d2e8256810bed2b9f9
Change-Id: I76f5699e74a51374c644527c58ffc4527b4f6100
2024-04-03 17:26:56 -05:00
Tadas Sutkaitis
5002bea34f Keystone: Enable custom annotations
Enable custom annotations for pods [deployments, daemonsets]

Change-Id: I5dcc4dbf21b0079de5b503e54cd79196caf3a0b0
2024-03-27 09:25:05 +02:00
Anselme, Schubert (sa246v)
6ed9a4132e Make barbican & keystone TLS configuration granular
Change-Id: Ibdcb202d8f813a248df3f0743b949e9befe18c7a
Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com>
2023-12-07 10:37:40 -05:00
chung00-lee
5b596e39ba Use region option in keystone endpoint-update.py
In multi-region environment, endpoints of other regions are also changed.
So, if we add the region option to endpoint-update file,
it changes endpoints only for the current region.

story: 2010965
task: 49081
Change-Id: Ia678b6737871dec8f6979924de7f2ba53153e7bf
2023-11-13 13:45:17 +09:00
Vladimir Kozhukalov
82a6aa8ce9 Add 2023.2 (Bobcat) jobs
Change-Id: Iea2a16db8acaa94259aeb3e21097bb771b70c38e
2023-10-13 12:40:12 -05:00
Vladimir Kozhukalov
5aadee0dc8 Add Ubuntu Jammy overrides
Change-Id: Icabf43efee2e64c856ae14a69881d96b380d7751
2023-09-07 00:12:04 +03:00
Vladimir Kozhukalov
b1f74a351a Add 2023.1 test jobs
- Also run last two test scripts in compute-kit job
  sequentially. This is handy since it allows to see
  what is happening during the test run. Both these
  test scripts usually take just few minutes. But if
  we run them using ansible async feature and one of
  the scripts fails then we are forced to wait for
  a long timeout.

Change-Id: I75b8fde3ec4e3355319b1c3f257e2d76c36f6aa4
2023-07-04 18:34:31 +03:00
Vladimir Kozhukalov
02a9e1e0ed Enable Zed compute-kit and cinder jobs
Also a new nodeset was temporarily added.
The aio compute-kit jobs for recent releases require
a huge node to work reliably. We'll remove the temporary nodeset
once this is merged
https://review.opendev.org/c/openstack/openstack-helm-infra/+/884989

Change-Id: I7572fc39a8f6248ff7dac44f20076ba74a3499fc
2023-06-01 16:15:50 +03:00
Samuel Liu
73e696b3fb Replace node-role.kubernetes.io/master with control-plane
The master label is no longer present on kubeadm control plane nodes(v1.24). For new clusters, the label 'node-role.kubernetes.io/master' will no longer be added to control plane nodes, only the label 'node-role.kubernetes.io/control-plane' will be added. For more information, refer to KEP-2067[https://github.com/kubernetes/enhancements/tree/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint]: Rename the kubeadm "master" label and taint.

the kubernetes pr: https://github.com/kubernetes/kubernetes/pull/107533

Change-Id: Iad8c833371efb3ec35149c89eb8fafdf1150fa87
2023-03-21 09:02:00 +08:00
Gage Hugo
5ffefb60c1 Remove train and ussuri overrides
We dropped train support a long time ago now, and our latest efforts
are to drop ussuri/bionic images. This change removes any leftover
train overrides as well as any ussuri overrides. This also changes
any image defaults to use wallaby.

Change-Id: I818a3a79faa631ec1b7de625f2113c6f19610760
2022-10-24 16:00:59 -05:00
josebb
94319bc926 Distinguish between port number of internal endpoint and binding
port number in keystone

Now binding ports of service and pod spec are configured using
internal endpoint values.
To support reverse proxy for internalUrl, need to distinguish
between binding ports and internal endpoint ports.

I added `service` section in endpoint items apart from admin,public
,internal and default.

Change-Id: I79b867a4e6771e07d1eebec89235352d7613e8eb
2022-08-30 17:33:05 +03:00
josebb
5e1e535dd8 Support TLS endpoints in keystone
This allows ks-bootstrap job to consume TLS endpoint.

Change-Id: I02c07878376934b27888dc643e42ebf1a4caf0ce
2022-08-12 21:34:59 +03:00