mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
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.