mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube-state-metrics]: Add support for host networking (#13414)
* [stable/kube-state-metrics]: Add support for host networking Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com> * [stable/kube-state-metrics] Remove unknown filter Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
fdcc46f40b
commit
59cddbfa3c
@@ -5,7 +5,7 @@ keywords:
|
||||
- metric
|
||||
- monitoring
|
||||
- prometheus
|
||||
version: 1.1.0
|
||||
version: 1.2.0
|
||||
appVersion: 1.5.0
|
||||
home: https://github.com/kubernetes/kube-state-metrics/
|
||||
sources:
|
||||
|
||||
@@ -19,6 +19,7 @@ $ helm install stable/kube-state-metrics
|
||||
| `image.pullPolicy` | Image pull policy | IfNotPresent |
|
||||
| `replicas` | Number of replicas | 1 |
|
||||
| `service.port` | The port of the container | 8080 |
|
||||
| `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 |
|
||||
|
||||
@@ -19,6 +19,7 @@ spec:
|
||||
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
serviceAccountName: {{ template "kube-state-metrics.serviceAccountName" . }}
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
securityContext:
|
||||
@@ -114,4 +115,3 @@ spec:
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@ service:
|
||||
nodePort: 0
|
||||
loadBalancerIP: ""
|
||||
|
||||
hostNetwork: false
|
||||
|
||||
rbac:
|
||||
# If true, create & use RBAC resources
|
||||
create: true
|
||||
|
||||
Reference in New Issue
Block a user