[stable/filebeat] set default config empty #12202
[stable/filebeat] set default config empty #12202
Conversation
Hi @kimxogus. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/assign @sstarcher |
So by default this will do pretty much nothing. Any reason you could not override the values that you want? I don't believe setting the default setting to be useless is a good move and we should consider something else. |
helm/helm#5184 if working properly means you can override the |
@sstarcher |
That's fine so this configuration should take a different tact. We should not wipe out the default config. Possibly a new option
If My concern with these changes is you are breaking everyone and the default configuration for this chart is basically useless. Why don't we try and find a way to make both a reality. |
@kimxogus when the bug for “null” works properly what issue will that not fix? |
f2d2248
to
a15719a
Compare
@sstarcher |
a15719a
to
8457e7d
Compare
777ab4c
to
11bc2ef
Compare
/ok-to-test |
8c57086
to
17b5a7a
Compare
merged master |
17b5a7a
to
1b2fea1
Compare
fixed conflicts. @sstarcher can you please review? |
Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
1b2fea1
to
f91a843
Compare
@@ -23,7 +23,7 @@ spec: | |||
app: {{ template "filebeat.name" . }} | |||
release: {{ .Release.Name }} | |||
annotations: | |||
checksum/secret: {{ toYaml .Values.config | sha256sum }} | |||
checksum/secret: {{ toYaml (default .Values.config .Values.overrideConfig) | sha256sum }} |
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.
going to approve, but I believe it makes it easier to read if written
checksum/secret: {{ .Values.overrideConfig | default .Values.config | toYaml | sha256sum }}
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kimxogus, sstarcher 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 |
* add overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * checksum for overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * use default function Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
* add overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * checksum for overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * use default function Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
* add overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * checksum for overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * use default function Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
* add overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * checksum for overrideConfig Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com> * use default function Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
Signed-off-by: Taehyun Kim kgyoo8232@gmail.com
What this PR does / why we need it:
#12199
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]