Files
charts/bitnami/kube-state-metrics/templates
Qiu Yu e34cbc47b5 [bitnami/kube-state-metrics] Align hostNetwork setting with PSP (#4029)
There're several issues with current `hostNetwork` setting:

- default setting (`true`) is not consistent with setting in PSP (`false`)
- `kube-state-metrics` doesn't require hostNetwork which exposes
  security risk otherwise.

  Checked both upstream deployment spec[1], docs,
  stable/kube-state-metrics[2] to ensure `hostNetwork` not needed.
- incorrect description for the flag

[1] https://github.com/kubernetes/kube-state-metrics/blob/master/examples/standard/deployment.yaml
[2] https://github.com/helm/charts/tree/master/stable/kube-state-metrics

This PR addresses those issues by:

- updated PSP to use the actual value reference
- flipped the default `.Values.hostNetwork` to `false` meanwhile keeping
  the flag available for backward compatibility.
- updated the comment in README to reflect what it really does.
2020-10-16 14:21:33 +02:00
..
2019-12-09 22:59:06 -03:00