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

Additional namespaces flag #372

Merged
merged 3 commits into from
Mar 9, 2020
Merged

Additional namespaces flag #372

merged 3 commits into from
Mar 9, 2020

Conversation

marccampbell
Copy link
Member

No description provided.

@marccampbell marccampbell marked this pull request as ready for review March 3, 2020 19:58

application := obj.(*kotsv1beta1.Application)

if application.Spec.AdditionalNamespaces == nil {
Copy link
Member

Choose a reason for hiding this comment

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

don't need this. loop works with nil arrays

}

for _, additionalNamespace := range application.Spec.AdditionalNamespaces {
// We support "*" for additional namespaces to handle pullsecret propagation
Copy link
Member

Choose a reason for hiding this comment

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

"We don't support", right?

Copy link
Member Author

Choose a reason for hiding this comment

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

We do, but we don't create that. It (will be) handled in the kotsadm code to handle imagePulLSecret propagation

Copy link
Member

Choose a reason for hiding this comment

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

Does this then break on something like this:

 - custom_ns
 - worker*

Copy link
Member Author

Choose a reason for hiding this comment

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

unsupported. only "*" and/or specific (exact) namespaces

@marccampbell marccampbell merged commit f16dd31 into master Mar 9, 2020
@marccampbell marccampbell deleted the additional-rbac branch March 9, 2020 18:16
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.

2 participants