Horizon: Enable custom annotations

Enable custom annotations for pods [deployments, daemonsets]

Change-Id: I097391183c0ca2761a3691f44863b687b0a4ab98
This commit is contained in:
Tadas Sutkaitis 2024-03-27 09:16:40 +02:00
parent a53aaf9aa1
commit 04cb07626e
No known key found for this signature in database
GPG Key ID: C123CD627D02FD57
4 changed files with 12 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Horizon description: OpenStack-Helm Horizon
name: horizon name: horizon
version: 0.3.17 version: 0.3.18
home: https://docs.openstack.org/horizon/latest/ home: https://docs.openstack.org/horizon/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
sources: sources:

View File

@ -43,6 +43,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }} {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }} configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }} configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
{{ tuple "horizon" . | include "helm-toolkit.snippets.custom_pod_annotations" | indent 8 }}
{{- if .Values.manifests.configmap_logo }} {{- if .Values.manifests.configmap_logo }}
configmap-logo-hash: {{ tuple "configmap-logo.yaml" . | include "helm-toolkit.utils.hash" }} configmap-logo-hash: {{ tuple "configmap-logo.yaml" . | include "helm-toolkit.utils.hash" }}
{{- end }} {{- end }}

View File

@ -0,0 +1,9 @@
---
annotations:
pod:
default:
custom.tld/key: "value"
custom.tld/key2: "value2"
horizon:
another.tld/foo: "bar"
...

View File

@ -54,4 +54,5 @@ horizon:
- 0.3.15 Update osh-selenium image used by default - 0.3.15 Update osh-selenium image used by default
- 0.3.16 Add support for custom panels - 0.3.16 Add support for custom panels
- 0.3.17 Set ingress annotation proxy-body-size=300m by default - 0.3.17 Set ingress annotation proxy-body-size=300m by default
- 0.3.18 Enable custom annotations for Openstack pods
... ...