Merge "Placement: Enable custom annotations"

This commit is contained in:
Zuul 2024-04-03 18:47:31 +00:00 committed by Gerrit Code Review
commit 09488ad049
4 changed files with 12 additions and 1 deletions

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Placement
name: placement
version: 0.3.10
version: 0.3.11
home: https://docs.openstack.org/placement/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
sources:

View File

@ -45,6 +45,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 "placement" . | include "helm-toolkit.snippets.custom_pod_annotations" | indent 8 }}
{{ dict "envAll" $envAll "podName" "placement-api" "containerNames" (list "placement-api" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}

View File

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

View File

@ -33,4 +33,5 @@ placement:
- 0.3.8 Add Ubuntu Jammy overrides
- 0.3.9 Add 2023.2 Ubuntu Jammy overrides
- 0.3.10 Add log_dir option for placement
- 0.3.11 Enable custom annotations for Openstack pods
...