-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/grafana] Allow secrets for sidecar (#13492) #15331
[stable/grafana] Allow secrets for sidecar (#13492) #15331
Conversation
Hi @fr-ser. 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. |
hey @fr-ser, thanks for this PR! i suggest to make this PR backwards compatible by having the default be configmap, and users can choose to use secrets if they specify it in their values.yaml. wdyt? at a later point we can add this change to other breaking changes and bump the major version of the chart. |
/assign |
I would like to be backwards compatible, so I also prefer keeping configmap as default @maximbaz But I would also like to keep the option both, as reading secrets (because of their base64 encoding or cluster permissions) is not as easy. |
This makes a lot of sense, and this is how I am planning to use this personally. I don't expect "configmaps" to go away in the next major version, I only want to be able to switch to "secrets" as soon as I see that I am about to put my password in there. And in this case, if we are going to support |
Updated the sidecar image to version 0.0.18 This allows also using secrets for volume mounts This way the dashboard and datasource import can be extended to those datatypes Signed-off-by: Sergej Herbert <[email protected]>
- keep the appVersion the same - bump minor version - add missing apostrophe Signed-off-by: Sergej Herbert <[email protected]>
- enable sidecar resource secrets and configmaps by default - update readme to indicate secret preference for datasources Signed-off-by: Sergej Herbert <[email protected]>
Did a rebase to stay compatible with the current master (don't know what the rebase, merge policy is here...) The big change is (aside from the Readme) the default watching for configmaps and secrets. |
So is there anything I can do to help get this feature merged? I can rebase/merge from master again of course, but it will be outdated within a couple of days I suppose. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fr-ser, maorfr 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 |
* [stable/grafana] Allow secrets for sidecar (helm#13492) Updated the sidecar image to version 0.0.18 This allows also using secrets for volume mounts This way the dashboard and datasource import can be extended to those datatypes Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review (helm#13492) - keep the appVersion the same - bump minor version - add missing apostrophe Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review helm#2 (helm#13492) - enable sidecar resource secrets and configmaps by default - update readme to indicate secret preference for datasources Signed-off-by: Sergej Herbert <[email protected]>
* [stable/grafana] Allow secrets for sidecar (helm#13492) Updated the sidecar image to version 0.0.18 This allows also using secrets for volume mounts This way the dashboard and datasource import can be extended to those datatypes Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review (helm#13492) - keep the appVersion the same - bump minor version - add missing apostrophe Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review #2 (helm#13492) - enable sidecar resource secrets and configmaps by default - update readme to indicate secret preference for datasources Signed-off-by: Sergej Herbert <[email protected]>
* [stable/grafana] Allow secrets for sidecar (helm#13492) Updated the sidecar image to version 0.0.18 This allows also using secrets for volume mounts This way the dashboard and datasource import can be extended to those datatypes Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review (helm#13492) - keep the appVersion the same - bump minor version - add missing apostrophe Signed-off-by: Sergej Herbert <[email protected]> * [stable/grafana] Allow secret - review #2 (helm#13492) - enable sidecar resource secrets and configmaps by default - update readme to indicate secret preference for datasources Signed-off-by: Sergej Herbert <[email protected]>
Updated the sidecar image to version 0.0.18
This allows also using secrets for volume mounts
This way the dashboard and data source import can be extended to those
datatypes
Signed-off-by: Sergej Herbert [email protected]
What this PR does / why we need it:
I pushed a PR into a used sidecar image (https://github.com/kiwigrid/k8s-sidecar) now we can use secrets for data source and dashboard provisioning for grafana.
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/chart]
)