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(templates/kubit): logic inversion on kubitSingleNamespace #648

Merged

Conversation

waynr
Copy link
Contributor

@waynr waynr commented May 23, 2024

Prior to this PR setting Values.kubitSingleNamespace to false would
cause it to watch only a single namespace, which seems to be the kubit
namespace itself. The reason it ends up watching the kubit namespace
can be seen in the deployment's namespace setting:

  namespace: {{if .Values.kubitSingleNamespace}}{{.Values.namespaceOverride | default .Release.Namespace}}{{else}}kubit{{end}}

(ie we hit the else branch in this logic when kubitSingleNamespace is false)

Prior to this PR setting `Values.kubitSingleNamespace` to `false` would
cause it to watch only a single namespace, which seems to be the `kubit`
namespace itself. The reason it ends up watching the `kubit` namespace
can be seen in the deployment's namespace setting:

```
  namespace: {{if .Values.kubitSingleNamespace}}{{.Values.namespaceOverride | default .Release.Namespace}}{{else}}kubit{{end}}
```
@waynr waynr merged commit f6dacf9 into master May 23, 2024
2 checks passed
@waynr waynr deleted the influxdb3-clustered/fix-kubit-singlenamespace-logic-inversion branch May 23, 2024 22:37
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.

None yet

2 participants