Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Ensure pod annotations are applied correctly #346

Merged
merged 1 commit into from
Dec 15, 2022
Merged

fix(core): Ensure pod annotations are applied correctly #346

merged 1 commit into from
Dec 15, 2022

Conversation

zerodayyy
Copy link
Contributor

Made inclusion of .Values.additionalAnnotations conditional

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • README is updated with new configuration values (if applicable)
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Fixes #345

…re provided #345

Signed-off-by: Dmytro Kovalenko <yo@zerodayyy.xyz>
@zerodayyy zerodayyy marked this pull request as ready for review December 13, 2022 12:33
@zerodayyy zerodayyy requested a review from a team as a code owner December 13, 2022 12:33
@@ -35,11 +35,13 @@ spec:
{{- if .Values.podIdentity.azureWorkload.enabled }}
azure.workload.identity/use: "true"
{{- end }}
{{- if .Values.podAnnotations.keda }}
annotations:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would need to test this, but what if there are no annotations specified and it's basically just annotations:? I think it's fine but just want to verify

@tomkerkhove tomkerkhove changed the title Fix broken YAML when providing podAnnotations in KEDA 2.9.0 fix(core): Ensure pod annotations are applied correctly Dec 13, 2022
@tomkerkhove tomkerkhove merged commit 8158943 into kedacore:main Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KEDA chart for 2.9.0 is broken when podAnnotations are provided
2 participants