mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube-state-metrics] Allows deploying ServiceAccount without RBAC (#13495)
Useful for imagePullSecrets Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
1b337ca5af
commit
10bed0a007
@@ -5,7 +5,7 @@ keywords:
|
||||
- metric
|
||||
- monitoring
|
||||
- prometheus
|
||||
version: 1.3.0
|
||||
version: 1.4.0
|
||||
appVersion: 1.6.0
|
||||
home: https://github.com/kubernetes/kube-state-metrics/
|
||||
sources:
|
||||
|
||||
@@ -22,7 +22,7 @@ $ helm install stable/kube-state-metrics
|
||||
| `hostNetwork` | Whether or not to use the host network | false |
|
||||
| `prometheusScrape` | Whether or not enable prom scrape | true |
|
||||
| `rbac.create` | If true, create & use RBAC resources | true |
|
||||
| `serviceAccount.create` | If true, and rbac true, create & use serviceAccount | true |
|
||||
| `serviceAccount.create` | If true, create & use serviceAccount | true |
|
||||
| `serviceAccount.name` | If not set & create is true, use template fullname | |
|
||||
| `serviceAccount.imagePullSecrets` | Specify image pull secrets field | `[]` |
|
||||
| `podSecurityPolicy.enabled` | If true, create & use PodSecurityPolicy resources | false |
|
||||
@@ -32,7 +32,7 @@ $ helm install stable/kube-state-metrics
|
||||
| `securityContext.runAsUser` | User ID for the container | `65534` |
|
||||
| `priorityClassName` | Name of Priority Class to assign pods | `nil` |
|
||||
| `nodeSelector` | Node labels for pod assignment | {} |
|
||||
| `tolerations` | Tolerations for pod assignment | [] |
|
||||
| `tolerations` | Tolerations for pod assignment | [] |
|
||||
| `podAnnotations` | Annotations to be added to the pod | {} |
|
||||
| `resources` | kube-state-metrics resource requests and limits | {} |
|
||||
| `collectors.certificatesigningrequests` | Enable the certificatesigningrequests collector. | true |
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
@@ -12,4 +11,3 @@ metadata:
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.serviceAccount.imagePullSecrets | indent 2 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user