diff --git a/docs/missing-container-metrics/Chart.yaml b/docs/missing-container-metrics/Chart.yaml index 1f971b2..7d04db2 100644 --- a/docs/missing-container-metrics/Chart.yaml +++ b/docs/missing-container-metrics/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/docs/missing-container-metrics/README.md b/docs/missing-container-metrics/README.md index 578e9db..cb07537 100644 --- a/docs/missing-container-metrics/README.md +++ b/docs/missing-container-metrics/README.md @@ -37,5 +37,6 @@ $ helm install my-release-name missing-container-metrics/missing-container-metri | podSecurityContext | Set the security context for the pods | | | securityContext | Set the security context for the container in the pods | | | resources | CPU/memory resource requests/limits | `{}` | +| tolerations | Tolerations used for pod scheduling | | useDocker | If true, container info is obtained from Docker | `false` | | useContainerd | If true, container info is obtained from Containerd | `true` | diff --git a/docs/missing-container-metrics/templates/daemon-set.yaml b/docs/missing-container-metrics/templates/daemon-set.yaml index 806197b..1ebdce4 100644 --- a/docs/missing-container-metrics/templates/daemon-set.yaml +++ b/docs/missing-container-metrics/templates/daemon-set.yaml @@ -34,6 +34,10 @@ spec: hostPath: path: /run/containerd/containerd.sock {{- end }} + {{- if .Values.tolerations }} + tolerations: + {{- toYaml .Values.tolerations | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: