-
Notifications
You must be signed in to change notification settings - Fork 74
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
Default CHOP namespace to the release namespace #79
Conversation
Wouldn't this break some existing installations since clickhouseOperator would move? A more sane way is changing the default value to be blank and using In both cases, going strictly by semver this is a breaking change. |
Only if they were installing this off label from our instructions would this be a problem. We have them install this in the
I would say safe over sane to be more accurate. The correct syntax would be
This would be breaking, but the remedy would be simply to have existing installations add |
@@ -21,8 +21,6 @@ sentryDSN: | |||
clickhouseOperator: | |||
# -- Whether to install clickhouse. If false, `clickhouse.host` must be set | |||
enabled: true | |||
# -- Which namespace to install clickhouse operator to | |||
namespace: "posthog" |
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.
keep it just as empty, so we have the description. I believe the default function still works then
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.
perfect
lets yes do the defaulting as Karl suggested (with pipes as that's much better way to use functions). |
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 had a feeling the "" didn't work with default, so I tested it, found another typo. Namespace needs to be capitalized after release.
btw simple way to test this:
helm template posthog charts/posthog --set cloud="x" -n "blah" | grep "clickhouse_service_account" -A5
^ and look at what you see for the namespace
fixes https://github.com/PostHog/charts-clickhouse/issues/75