Barbican: Enable custom annotations

Enable custom annotations for pods [deployments, daemonsets]

Change-Id: I88e692fcf63a4606fde7ec7ecaeacfdbf90c9f09
This commit is contained in:
Tadas Sutkaitis 2024-03-07 22:26:27 +02:00
parent 1409a039e0
commit 1f073e5352
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
description: OpenStack-Helm Barbican
name: barbican
version: 0.3.8
version: 0.3.9
home: https://docs.openstack.org/barbican/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png
sources:

View File

@ -43,6 +43,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
{{ tuple "barbican_api" . | include "helm-toolkit.snippets.custom_pod_annotations" | indent 8 }}
{{ dict "envAll" $envAll "podName" "barbican-api" "containerNames" (list "init" "barbican-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "barbican" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}

View File

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

View File

@ -32,4 +32,5 @@ barbican:
- 0.3.6 Add 2023.2 Ubuntu Jammy overrides
- 0.3.7 Fix TLS connection to rabbitmq, and generate barbican certificate
- 0.3.8 Make barbican TLS configuration granular
- 0.3.9 Enable custom annotations for Openstack pods
...