* [bitnami/kube-state-metrics] Add missing validatingwebhookconfigurations collector
Commit 93a4afed8cd("[bitnami/kube-state-metrics] Add missing collectors")
added more collectors but it missed the `validatingwebhookconfigurations`
one. So lets add it to the list to achieve parity with the upstream
capabilities.
* [bitnami/kube-state-metrics] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
* [bitnami/kube-state-metrics] Add missing permissions to clusterole
Commit 93a4afed8cd("[bitnami/kube-state-metrics] Add missing collectors")
added some missing collectors but it did not update the clusterrole so
kube-state-metrics could not fetch these resources. Lets add the missing
permissions so everything works as expected.
* [bitnami/kube-state-metrics] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
* [bitnami/kube-state-metrics]: Do not scrape service twice
If we are using the ServiceMonitor resource to scrape the
kube-state-metrics service, we shouldn't use the prometheus annotation
as this may result scraping the service twice
* [bitnami/kube-state-metrics] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
* [bitnami/kube-state-metrics] Support honor_labels and relabel_config in ServiceMonitor
* Bumped chart minor version
* Check if serviceMonitor.honorLabels is explicitly set in chart values
* [bitnami/kube-state-metrics] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This `-` breaks global labels by concatenating the last normal label with the first global one
```yaml
# values.yaml
global:
labels:
metric-type: global
---
# Source: kube-state-metrics/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: release-name-kube-state-metrics
labels:
app.kubernetes.io/name: kube-state-metrics
helm.sh/chart: kube-state-metrics-0.1.0
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: "1.8.0"
app.kubernetes.io/managed-by: Tillermetric-type: global # <-- HERE
```
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
Signed-off-by: Sameer Naik <sameersbn@vmware.com>