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: add missing POD_NAMESPACE environment variable to deployments (#405 #405

Merged

Conversation

michemache
Copy link
Contributor

@michemache michemache commented Mar 13, 2023

Since Keda 2.10.0 deploying to a different namespace fails, as the POD_NAMESPACE environment variable is missing.

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 #403

@michemache michemache requested a review from a team as a code owner March 13, 2023 10:59
Signed-off-by: Michi U <4169888+michemache@users.noreply.github.com>
@JorTurFer JorTurFer enabled auto-merge (squash) March 13, 2023 11:12
@JorTurFer JorTurFer closed this Mar 13, 2023
auto-merge was automatically disabled March 13, 2023 11:12

Pull request was closed

@JorTurFer JorTurFer reopened this Mar 13, 2023
@JorTurFer JorTurFer changed the title fix: add missing POD_NAMESPACE environment variable to deployments fix: add missing POD_NAMESPACE environment variable to deployments (#405 Mar 13, 2023
@JorTurFer JorTurFer merged commit 06ce12c into kedacore:main Mar 13, 2023
@JorTurFer
Copy link
Member

Thanks for the contribution!

@mbaeuerle
Copy link

mbaeuerle commented Mar 13, 2023

Quickfix until there is a new release ready. Add the variable also to the charts' values.yaml:

env:
  - name: POD_NAMESPACE
    valueFrom:
      fieldRef:
        fieldPath: metadata.namespace

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.

POD_NAMESPACE environment variable missing
3 participants