diff --git a/keystone/Chart.yaml b/keystone/Chart.yaml index 7cd2071543..049e39d807 100644 --- a/keystone/Chart.yaml +++ b/keystone/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Keystone name: keystone -version: 0.3.9 +version: 0.3.10 home: https://docs.openstack.org/keystone/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png sources: diff --git a/keystone/templates/job-credential-cleanup.yaml b/keystone/templates/job-credential-cleanup.yaml index fcd7f11f8d..9f2680270f 100644 --- a/keystone/templates/job-credential-cleanup.yaml +++ b/keystone/templates/job-credential-cleanup.yaml @@ -33,6 +33,7 @@ metadata: annotations: "helm.sh/hook": pre-delete "helm.sh/hook-delete-policy": hook-succeeded, hook-failed +{{ tuple "keystone_credential_cleanup" $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }} spec: template: metadata: diff --git a/keystone/templates/job-credential-setup.yaml b/keystone/templates/job-credential-setup.yaml index 5e6edc6f53..38ff3c8ba2 100644 --- a/keystone/templates/job-credential-setup.yaml +++ b/keystone/templates/job-credential-setup.yaml @@ -62,6 +62,7 @@ metadata: "helm.sh/hook-delete-policy": before-hook-creation {{- end }} {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} +{{ tuple "keystone_credential_setup" $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }} spec: template: metadata: diff --git a/keystone/templates/job-domain-manage.yaml b/keystone/templates/job-domain-manage.yaml index 8acd192e34..a783423c25 100644 --- a/keystone/templates/job-domain-manage.yaml +++ b/keystone/templates/job-domain-manage.yaml @@ -30,6 +30,7 @@ metadata: annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": before-hook-creation +{{ tuple $serviceAccountName $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }} spec: template: metadata: diff --git a/keystone/templates/job-fernet-setup.yaml b/keystone/templates/job-fernet-setup.yaml index 1505ffad29..ae9f42cbd4 100644 --- a/keystone/templates/job-fernet-setup.yaml +++ b/keystone/templates/job-fernet-setup.yaml @@ -62,6 +62,7 @@ metadata: "helm.sh/hook-weight": "-5" "helm.sh/hook-delete-policy": before-hook-creation {{- end }} +{{ tuple "keystone_fernet_setup" $envAll | include "helm-toolkit.snippets.custom_job_annotations" | indent 4 }} spec: template: metadata: diff --git a/keystone/values_overrides/annotations.yaml b/keystone/values_overrides/annotations.yaml index 2e6d7fcdde..55982b0feb 100644 --- a/keystone/values_overrides/annotations.yaml +++ b/keystone/values_overrides/annotations.yaml @@ -6,4 +6,10 @@ annotations: custom.tld/key2: "value2" keystone_api: another.tld/foo: "bar" + job: + default: + custom.tld/key: "value" + custom.tld/key2: "value2" + keystone_credential_setup: + another.tld/foo: "bar" ... diff --git a/releasenotes/notes/keystone.yaml b/releasenotes/notes/keystone.yaml index 4c10d62b52..dcdb7aea7d 100644 --- a/releasenotes/notes/keystone.yaml +++ b/releasenotes/notes/keystone.yaml @@ -56,4 +56,5 @@ keystone: - 0.3.7 Make keystone TLS configuration granular - 0.3.8 Enable custom annotations for Openstack pods - 0.3.9 Add 2024.1 overrides + - 0.3.10 Allow custom annotations on jobs ...