Skip to content

Always set PVC override namespace to sts namespace #545

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

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

ChunyiLyu
Copy link
Contributor

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

  • PR related to bug reported in issue: cluster operator fails to deploy rabbitmq instance #537
  • k8s allows pvc template in sts to not have namespace specified and assumes it's the same namespace as the sts
  • operator needs to set namespace because controller reference can only be set when both object name and namespace are specified

Additional Context

Local Testing

Have run unit and integration tests

- this is related to bug reported in: #537
-  k8s allows pvc template in sts to not have namespace
specified and assumes it's the same namespace as the sts
- operator needs to set namespace because controller
reference can only be set when both object name and
namespace are specified
@mkuratczyk mkuratczyk self-requested a review January 6, 2021 14:01
Copy link
Collaborator

@mkuratczyk mkuratczyk left a comment

Choose a reason for hiding this comment

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

Thanks!

@ChunyiLyu ChunyiLyu merged commit 12a09a8 into main Jan 6, 2021
@ChunyiLyu ChunyiLyu deleted the pvc-owner-reference branch January 6, 2021 14:11
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.

3 participants