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

allow secrets of default users in a different namespace #1581

Merged
merged 2 commits into from
Aug 18, 2021
Merged

Conversation

FxKu
Copy link
Member

@FxKu FxKu commented Aug 12, 2021

fixes #1580

introduces a small addition to preparedDatabases to allow secrets of default LOGIN roles in other namespaces

@FxKu FxKu added this to the 1.7 milestone Aug 13, 2021
@FxKu FxKu added the zalando label Aug 13, 2021
namespace := c.Namespace
//if namespaced secrets are allowed
if c.Config.OpConfig.EnableCrossNamespaceSecret && secretNamespace != "" {
namespace = secretNamespace
Copy link
Member

Choose a reason for hiding this comment

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

Should log a warning that namespace is ignored

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@Jan-M
Copy link
Member

Jan-M commented Aug 17, 2021

👍

1 similar comment
@FxKu
Copy link
Member Author

FxKu commented Aug 18, 2021

👍

@FxKu FxKu merged commit 282b6d2 into master Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

preparedDatabases is not documented in Cluster manifest reference
2 participants