The image can be configured through flags.
Run it with the --help flag to see the full list:
$ docker run cgr.dev/chainguard/kube-state-metrics --help
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
Usage:
kube-state-metrics [flags]
kube-state-metrics [command]
Available Commands:
completion Generate completion script for kube-state-metrics.
help Help about any command
version Print version information.
Flags: