Changes to customresourcestate doc

Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
This commit is contained in:
Evgen Karlashov 2022-07-08 11:07:18 +02:00
parent 5ba662251f
commit 9197bb28b9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Two flags can be used:
If both flags are provided, the inline configuration will take precedence. If both flags are provided, the inline configuration will take precedence.
Apart from specifying one of `--custom-resource-state-config-*` flags, you also need to add a custom resource *Kind* in plural form to the list of existing resources in `--resources` flag. If you don't specify `--resources`, then `--custom-resource-state-config-*` and all available default kubernetes objects will be taken into accout by kube-state-metrics. In addition to specifying one of `--custom-resource-state-config*` flags, you should also add the custom resource *Kind*s in plural form to the list of exposed resources in the `--resources` flag. If you don't specify `--resources`, then all known custom resources configured in `--custom-resource-state-config-*` and all available default kubernetes objects will be taken into account by kube-state-metrics.
```yaml ```yaml
apiVersion: apps/v1 apiVersion: apps/v1