[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:
Nicholas Capo
2019-04-30 12:07:21 -07:00
committed by Kubernetes Prow Robot
parent fdcc46f40b
commit 59cddbfa3c
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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 }}
+2
View File
@@ -14,6 +14,8 @@ service:
nodePort: 0
loadBalancerIP: ""
hostNetwork: false
rbac:
# If true, create & use RBAC resources
create: true