2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/values.yaml
|
|
|
|
+++ charts/values.yaml
|
2021-06-08 05:51:07 +00:00
|
|
|
@@ -1,8 +1,12 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
+global:
|
|
|
|
+ cattle:
|
|
|
|
+ systemDefaultRegistry: ""
|
|
|
|
+
|
|
|
|
# Default values for kube-state-metrics.
|
|
|
|
prometheusScrape: true
|
|
|
|
image:
|
|
|
|
- repository: k8s.gcr.io/kube-state-metrics/kube-state-metrics
|
2021-06-08 05:51:07 +00:00
|
|
|
- tag: v1.9.8
|
2021-05-17 22:30:18 +00:00
|
|
|
+ repository: rancher/mirrored-kube-state-metrics-kube-state-metrics
|
2021-06-08 05:51:07 +00:00
|
|
|
+ tag: v2.0.0
|
2021-05-17 22:30:18 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-06-08 05:51:07 +00:00
|
|
|
imagePullSecrets: []
|
|
|
|
@@ -84,10 +88,16 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
enabled: true
|
|
|
|
+ runAsNonRoot: true
|
|
|
|
runAsGroup: 65534
|
|
|
|
runAsUser: 65534
|
|
|
|
fsGroup: 65534
|
2021-06-08 05:51:07 +00:00
|
|
|
|
|
|
|
+## Specify security settings for a Container
|
|
|
|
+## Allows overrides and additional options compared to (Pod) securityContext
|
|
|
|
+## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
|
|
+containerSecurityContext: {}
|
|
|
|
+
|
|
|
|
## Node labels for pod assignment
|
|
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
|
|
nodeSelector: {}
|
|
|
|
@@ -110,7 +120,7 @@
|
|
|
|
podDisruptionBudget: {}
|
|
|
|
|
|
|
|
# Available collectors for kube-state-metrics. By default all available
|
|
|
|
-# collectors are enabled.
|
|
|
|
+# resources are enabled.
|
|
|
|
collectors:
|
|
|
|
certificatesigningrequests: true
|
|
|
|
configmaps: true
|
|
|
|
@@ -147,8 +157,8 @@
|
|
|
|
# base64 encoded kube-config file
|
|
|
|
secret:
|
|
|
|
|
|
|
|
-# Namespace to be enabled for collecting resources. By default all namespaces are collected.
|
|
|
|
-# namespace: ""
|
|
|
|
+# Comma-separated list of namespaces to be enabled for collecting resources. By default all namespaces are collected.
|
|
|
|
+namespaces: ""
|
|
|
|
|
|
|
|
## Override the deployment namespace
|
|
|
|
##
|
|
|
|
@@ -172,7 +182,7 @@
|
|
|
|
kubeTargetVersionOverride: ""
|
|
|
|
|
|
|
|
# Enable self metrics configuration for service and Service Monitor
|
|
|
|
-# Default values for telemetry configuration can be overriden
|
|
|
|
+# Default values for telemetry configuration can be overridden
|
|
|
|
selfMonitor:
|
|
|
|
enabled: false
|
|
|
|
# telemetryHost: 0.0.0.0
|