diff --git a/charts/uptime-kuma/Chart.yaml b/charts/uptime-kuma/Chart.yaml index 438b36b..ad5ddf2 100644 --- a/charts/uptime-kuma/Chart.yaml +++ b/charts/uptime-kuma/Chart.yaml @@ -11,4 +11,4 @@ name: uptime-kuma sources: - https://github.com/louislam/uptime-kuma type: application -version: 2.19.1 +version: 2.19.2 diff --git a/charts/uptime-kuma/README.md b/charts/uptime-kuma/README.md index 940204d..a7fd437 100644 --- a/charts/uptime-kuma/README.md +++ b/charts/uptime-kuma/README.md @@ -1,6 +1,6 @@ # uptime-kuma -![Version: 2.19.1](https://img.shields.io/badge/Version-2.19.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.23.13](https://img.shields.io/badge/AppVersion-1.23.13-informational?style=flat-square) +![Version: 2.19.2](https://img.shields.io/badge/Version-2.19.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.23.13](https://img.shields.io/badge/AppVersion-1.23.13-informational?style=flat-square) A self-hosted Monitoring tool like "Uptime-Robot". @@ -93,4 +93,4 @@ A self-hosted Monitoring tool like "Uptime-Robot". | volume.size | string | `"4Gi"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/uptime-kuma/templates/_helpers.tpl b/charts/uptime-kuma/templates/_helpers.tpl index 1c0fa87..c37be21 100644 --- a/charts/uptime-kuma/templates/_helpers.tpl +++ b/charts/uptime-kuma/templates/_helpers.tpl @@ -60,3 +60,10 @@ Create the name of the service account to use {{- default "default" .Values.serviceAccount.name }} {{- end }} {{- end }} + +{{/* +Set automountServiceAccountToken when service account is created +*/}} +{{- define "uptime-kuma.automountServiceAccountToken" -}} +{{- default .Values.serviceAccount.create }} +{{- end }} diff --git a/charts/uptime-kuma/templates/deployment.yaml b/charts/uptime-kuma/templates/deployment.yaml index 46b0c3f..3157101 100644 --- a/charts/uptime-kuma/templates/deployment.yaml +++ b/charts/uptime-kuma/templates/deployment.yaml @@ -29,6 +29,7 @@ spec: {{- toYaml .Values.podLabels | nindent 8 }} {{- end }} spec: + automountServiceAccountToken: {{ include "uptime-kuma.automountServiceAccountToken" . }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}