mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
[bitnami/kube-state-metrics] Add hostAliases (#5254)
This commit is contained in:
committed by
GitHub
parent
e942b27331
commit
764021ca09
@@ -23,4 +23,4 @@ name: kube-state-metrics
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-kube-state-metrics
|
||||
- https://github.com/kubernetes/kube-state-metrics
|
||||
version: 1.1.6
|
||||
version: 1.2.0
|
||||
|
||||
@@ -70,6 +70,7 @@ The following table lists the configurable parameters of the kube-state-metrics
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `extraArgs` | Additional command line arguments to pass to kube-state-metrics | `{}` |
|
||||
| `namespace` | Comma-separated list of namespaces to be enabled. Defaults to all namespaces | `` |
|
||||
| `hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `collectors.certificatesigningrequests` | Enable the `certificatesigningrequests` collector | `true` |
|
||||
| `collectors.configmaps` | Enable the `configmaps` collector | `true` |
|
||||
| `collectors.cronjobs` | Enable the `cronjobs` collector | `true` |
|
||||
|
||||
@@ -21,6 +21,9 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "kube-state-metrics.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName }}
|
||||
{{- end }}
|
||||
|
||||
@@ -9,6 +9,7 @@ global:
|
||||
# storageClass: myStorageClass
|
||||
|
||||
## Additional labels to apply to all resources
|
||||
##
|
||||
labels: {}
|
||||
# foo: bar
|
||||
|
||||
@@ -20,6 +21,11 @@ global:
|
||||
##
|
||||
# fullnameOverride:
|
||||
|
||||
## Deployment pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Role Based Access
|
||||
## ref: https://kubernetes.io/docs/admin/authorization/rbac/
|
||||
##
|
||||
@@ -66,12 +72,14 @@ image:
|
||||
# - myRegistryKeySecretName
|
||||
|
||||
## Additional command line arguments to pass to kube-state-metrics
|
||||
##
|
||||
extraArgs: {}
|
||||
|
||||
## Comma-separated list of namespaces to be enabled. Defaults to all namespaces
|
||||
# namespace: ""
|
||||
|
||||
## Collectors to be enabled
|
||||
##
|
||||
collectors:
|
||||
certificatesigningrequests: true
|
||||
configmaps: true
|
||||
@@ -206,6 +214,7 @@ podAntiAffinityPreset: soft
|
||||
nodeAffinityPreset:
|
||||
## Node affinity type
|
||||
## Allowed values: soft, hard
|
||||
##
|
||||
type: ""
|
||||
## Node label key to match
|
||||
## E.g.
|
||||
|
||||
Reference in New Issue
Block a user