add pod annotations
This commit is contained in:
parent
88fcc1ad2f
commit
f401165cb2
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
description: A chart for a Cadvisor deployment
|
description: A chart for a Cadvisor deployment
|
||||||
name: cadvisor
|
name: cadvisor
|
||||||
version: 1.1.1
|
version: 1.1.2
|
||||||
appVersion: 0.36.0
|
appVersion: 0.36.0
|
||||||
home: https://github.com/google/cadvisor
|
home: https://github.com/google/cadvisor
|
||||||
sources:
|
sources:
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@ The following table lists the configurable parameters of the Prometheus MSTeams
|
||||||
| `resources` | pod resource requests & limits | `{}` |
|
| `resources` | pod resource requests & limits | `{}` |
|
||||||
| `serviceAccount.create` | create a own serviceAccount for the pod | `true` |
|
| `serviceAccount.create` | create a own serviceAccount for the pod | `true` |
|
||||||
| `serviceAccount.name` | name of the serviceAccount to create | `""` |
|
| `serviceAccount.name` | name of the serviceAccount to create | `""` |
|
||||||
|
| `podAnnotations` | annotations for the daemonset pods | `{}` |
|
||||||
| `podSecurityPolicy.create` | create a own PodSecurityPolicy for the pod | `false` |
|
| `podSecurityPolicy.create` | create a own PodSecurityPolicy for the pod | `false` |
|
||||||
| `metrics.enabled` | create ServiceMonitor CR for Prometheus operator | `false` |
|
| `metrics.enabled` | create ServiceMonitor CR for Prometheus operator | `false` |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "cadvisor.name" . }}
|
app: {{ template "cadvisor.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.podAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
serviceAccountName: {{ template "cadvisor.serviceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,8 @@ resources: {}
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# Specifies whether a service account should be created
|
# Specifies whether a service account should be created
|
||||||
create: true
|
create: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue