-
Notifications
You must be signed in to change notification settings - Fork 382
Enable namespaced brokers by default #2248
Enable namespaced brokers by default #2248
Conversation
/lgtm |
/lgtm |
Looks like we need to update this as well so it's on by default when installing with Helm: |
@jberkhahn the chart needs to change too. Give it another scrub. |
conditionals in templates need to be cleaned up or removed.
docs too
|
/lgtm cancel |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
Why did that stuff not get done for originating identity? |
I am not sure what you are looking at specifically. Feel free to file an issue if you see a problem. |
@jberkhahn It probably should be done for Originating Identity. I created a new issue for it: #2252 |
@jberkhahn I looked at this too quickly - - that is the Originating Identity Locking locking that is defaulted to on. So I'm wrong, OI was never enabled by default. I think it should be, but I'm wrong in here where I said it was done already. I believe all the comments above are correct though in terms of what needs to be cleaned up for the NamespaceScoped broker feature gate. |
7f4c760
to
fa5aa2f
Compare
Ok, fixed the charts and added a bit to the docs about it. |
fa5aa2f
to
57a0b69
Compare
@@ -60,9 +60,9 @@ spec: | |||
- --feature-gates | |||
- OriginatingIdentity=true | |||
{{- end }} | |||
{{- if .Values.namespacedServiceBrokerEnabled }} | |||
{{- if not .Values.namespacedServiceBrokerEnabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My quick read on this is if the value is set to false or not defined, it will set the NamespacedServiceBroker to false. I'd prefer to see this only set it to false if the value is explicitly set to false in values.yaml. I was originally thinking we'd remove the NSB variable from values.yaml, but I guess as long as its present and set to true it's going to do the right thing. WDYT? Probably not worth changing, ok as is.
@@ -81,9 +81,9 @@ spec: | |||
- --feature-gates | |||
- CatalogRestrictions=true | |||
{{- end }} | |||
{{- if .Values.namespacedServiceBrokerEnabled }} | |||
{{- if not .Values.namespacedServiceBrokerEnabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
charts/catalog/values.yaml
Outdated
@@ -1,6 +1,6 @@ | |||
# Default values for Service Catalog | |||
# service-catalog image to use | |||
image: quay.io/kubernetes-service-catalog/service-catalog:v0.1.27 | |||
image: docker.io/jberkhahn/service-catalog:canary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unintentional and should be reverted right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, thanks for doing it. Looks like an accidental change of the repo that should not be in here though.
57a0b69
to
72ce783
Compare
Hmm, it seems Jay was right. If you don't pass in an option to Helm, it interprets it as being false. So if you don't pass in EnableNamespaced brokers, it would evaluate to false and set the option to false. So I had to change it to an affirmative DisableNamespacedBrokers flag. also, cleaned up the typo. Thoughts? |
/LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MHBauer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
This is ready to be turned on per #2244.