diff --git a/docs/customresourcestate-metrics.md b/docs/customresourcestate-metrics.md index 9adc234978..1dbab97c7f 100644 --- a/docs/customresourcestate-metrics.md +++ b/docs/customresourcestate-metrics.md @@ -482,7 +482,7 @@ Examples: [status, conditions, "[value=66]", name] # status.conditions[1].name = "b" ``` -### [Variable VKs](https://github.com/kubernetes/kube-state-metrics/pull/1851) +### Wildcard VKs The CRS configuration allows you to monitor all versions and/or kinds that come under a group. Taking the `Foo` object as reference the configuration below allows you to monitor all objects under all versions and all kinds that come under the `myteam.io` group. @@ -494,7 +494,7 @@ spec: - groupVersionKind: group: "myteam.io" version: "*" # Set to `v1 to monitor all kinds under `myteam.io/v1`. Wildcard matches all versions based on the installed CRDs. - kind: "*" # TODO: Set to `Foo` to monitor all `Foo` objects under the `myteam.io` group (under all versions). Wildcard matches all installed kinds in the CR group. + kind: "*" # Set to `Foo` to monitor all `Foo` objects under the `myteam.io` group (under all versions). Wildcard matches all installed kinds in the CR group. metrics: - name: "myobject_info" help: "Foo Bar Baz" diff --git a/pkg/util/utils.go b/pkg/util/utils.go index c86afeeede..9280dece25 100644 --- a/pkg/util/utils.go +++ b/pkg/util/utils.go @@ -1,5 +1,5 @@ /* -Copyright 2019 The Kubernetes Authors All rights reserved. +Copyright 2023 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/e2e/discovery_test.go b/tests/e2e/discovery_test.go index eede004a07..cdb6c2dfec 100644 --- a/tests/e2e/discovery_test.go +++ b/tests/e2e/discovery_test.go @@ -1,5 +1,5 @@ /* -Copyright 2022 The Kubernetes Authors All rights reserved. +Copyright 2023 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.