diff --git a/barbican/Chart.yaml b/barbican/Chart.yaml index 1911c5c2b4..b6dd1e349b 100644 --- a/barbican/Chart.yaml +++ b/barbican/Chart.yaml @@ -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: diff --git a/barbican/templates/deployment-api.yaml b/barbican/templates/deployment-api.yaml index de26c3168c..d777f42fd0 100644 --- a/barbican/templates/deployment-api.yaml +++ b/barbican/templates/deployment-api.yaml @@ -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 }} diff --git a/barbican/values_overrides/annotations.yaml b/barbican/values_overrides/annotations.yaml new file mode 100644 index 0000000000..dd5754abf1 --- /dev/null +++ b/barbican/values_overrides/annotations.yaml @@ -0,0 +1,9 @@ +--- +annotations: + pod: + default: + custom.tld/key: "value" + custom.tld/key2: "value2" + barbican_api: + another.tld/foo: "bar" +... diff --git a/releasenotes/notes/barbican.yaml b/releasenotes/notes/barbican.yaml index c24de3b72c..6dfa9edf3f 100644 --- a/releasenotes/notes/barbican.yaml +++ b/releasenotes/notes/barbican.yaml @@ -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 ...