Ironic: Enable custom annotations

Enable custom annotations for pods [deployments, daemonsets]

Change-Id: Ib2de0b5554db091b89f1c1eb242814f2859f9ee6
This commit is contained in:
Tadas Sutkaitis 2024-03-27 09:20:45 +02:00
parent a53aaf9aa1
commit a4a8b460ac
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 Ironic
name: ironic
version: 0.2.10
version: 0.2.11
home: https://docs.openstack.org/ironic/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_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 "ironic_api" . | include "helm-toolkit.snippets.custom_pod_annotations" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
affinity:

View File

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

View File

@ -14,4 +14,5 @@ ironic:
- 0.2.8 Add helm3 hook supports to allow things like terraform deploys
- 0.2.9 Replace node-role.kubernetes.io/master with control-plane
- 0.2.10 Add standalone overrides
- 0.2.11 Enable custom annotations for Openstack pods
...