diff --git a/charts/cadvisor/Chart.yaml b/charts/cadvisor/Chart.yaml index 2dd067d..11e9745 100644 --- a/charts/cadvisor/Chart.yaml +++ b/charts/cadvisor/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A chart for a Cadvisor deployment name: cadvisor -version: 1.1.1 +version: 1.1.2 appVersion: 0.36.0 home: https://github.com/google/cadvisor sources: diff --git a/charts/cadvisor/README.md b/charts/cadvisor/README.md index 10ae110..65e6518 100644 --- a/charts/cadvisor/README.md +++ b/charts/cadvisor/README.md @@ -55,6 +55,7 @@ The following table lists the configurable parameters of the Prometheus MSTeams | `resources` | pod resource requests & limits | `{}` | | `serviceAccount.create` | create a own serviceAccount for the pod | `true` | | `serviceAccount.name` | name of the serviceAccount to create | `""` | +| `podAnnotations` | annotations for the daemonset pods | `{}` | | `podSecurityPolicy.create` | create a own PodSecurityPolicy for the pod | `false` | | `metrics.enabled` | create ServiceMonitor CR for Prometheus operator | `false` | diff --git a/charts/cadvisor/templates/daemonset.yaml b/charts/cadvisor/templates/daemonset.yaml index 22ec69a..1f1c64e 100644 --- a/charts/cadvisor/templates/daemonset.yaml +++ b/charts/cadvisor/templates/daemonset.yaml @@ -19,6 +19,10 @@ spec: labels: app: {{ template "cadvisor.name" . }} release: {{ .Release.Name }} + annotations: + {{- range $key, $value := .Values.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} spec: serviceAccountName: {{ template "cadvisor.serviceAccountName" . }} containers: diff --git a/charts/cadvisor/values.yaml b/charts/cadvisor/values.yaml index 5f4006e..c8d8607 100644 --- a/charts/cadvisor/values.yaml +++ b/charts/cadvisor/values.yaml @@ -37,6 +37,8 @@ resources: {} # cpu: 100m # memory: 128Mi +podAnnotations: {} + serviceAccount: # Specifies whether a service account should be created create: true