Skip to content

Commit

Permalink
update kube state metrics command args (#2085)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvishnuram committed Jan 19, 2024
1 parent f44cdd2 commit f985e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-state/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ ports:
replicas: 1

extraArgs:
- "--metric-labels-allowlist=namespaces=[*]"
- "--metric-labels-allowlist=namespaces=[*],pods=[*]"
2 changes: 1 addition & 1 deletion tests/chart_tests/test_kube_state_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_kube_state_deployment_with_default_args(self, kube_version):
assert len(docs) == 1
c_by_name = get_containers_by_name(docs[0])
assert (
"--metric-labels-allowlist=namespaces=[*]"
"--metric-labels-allowlist=namespaces=[*],pods=[*]"
in c_by_name["kube-state"]["args"]
)
assert "--namespaces=" not in c_by_name["kube-state"]["args"]
Expand Down

0 comments on commit f985e31

Please sign in to comment.