--- charts-original/values.yaml +++ charts/values.yaml @@ -1,8 +1,12 @@ +global: + cattle: + systemDefaultRegistry: "" + # Default values for kube-state-metrics. prometheusScrape: true image: - repository: k8s.gcr.io/kube-state-metrics/kube-state-metrics - tag: v1.9.8 + repository: rancher/mirrored-kube-state-metrics-kube-state-metrics + tag: v2.0.0 pullPolicy: IfNotPresent imagePullSecrets: [] @@ -84,10 +88,16 @@ securityContext: enabled: true + runAsNonRoot: true runAsGroup: 65534 runAsUser: 65534 fsGroup: 65534 +## 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