diff --git a/charts/uptime-kuma/Chart.yaml b/charts/uptime-kuma/Chart.yaml index 0e7a938..2408fc0 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.10.2 +version: 2.11.0 diff --git a/charts/uptime-kuma/README.md b/charts/uptime-kuma/README.md index 11adeab..4c9ea54 100644 --- a/charts/uptime-kuma/README.md +++ b/charts/uptime-kuma/README.md @@ -1,6 +1,6 @@ # uptime-kuma -![Version: 2.10.2](https://img.shields.io/badge/Version-2.10.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.23.0](https://img.shields.io/badge/AppVersion-1.23.0-informational?style=flat-square) +![Version: 2.11.0](https://img.shields.io/badge/Version-2.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.23.0](https://img.shields.io/badge/AppVersion-1.23.0-informational?style=flat-square) A self-hosted Monitoring tool like "Uptime-Robot". @@ -21,6 +21,8 @@ A self-hosted Monitoring tool like "Uptime-Robot". | Key | Type | Default | Description | |-----|------|---------|-------------| | affinity | object | `{}` | | +| dnsConfig | object | `{}` | Use this option to set custom DNS configurations to the created deployment | +| dnsPolicy | string | `""` | Use this option to set a custom DNS policy to the created deployment | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"louislam/uptime-kuma"` | | diff --git a/charts/uptime-kuma/templates/deployment.yaml b/charts/uptime-kuma/templates/deployment.yaml index f2b23e0..4ca7bf7 100644 --- a/charts/uptime-kuma/templates/deployment.yaml +++ b/charts/uptime-kuma/templates/deployment.yaml @@ -36,6 +36,13 @@ spec: serviceAccountName: {{ include "uptime-kuma.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.dnsPolicy }} + dnsPolicy: {{ .Values.dnsPolicy }} + {{- end }} + {{- if .Values.dnsConfig }} + dnsConfig: + {{- toYaml .Values.dnsConfig | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/uptime-kuma/templates/statefulset.yaml b/charts/uptime-kuma/templates/statefulset.yaml index 78a8a29..e48763d 100644 --- a/charts/uptime-kuma/templates/statefulset.yaml +++ b/charts/uptime-kuma/templates/statefulset.yaml @@ -34,6 +34,13 @@ spec: serviceAccountName: {{ include "uptime-kuma.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.dnsPolicy }} + dnsPolicy: {{ .Values.dnsPolicy }} + {{- end }} + {{- if .Values.dnsConfig }} + dnsConfig: + {{- toYaml .Values.dnsConfig | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/uptime-kuma/values.yaml b/charts/uptime-kuma/values.yaml index 7c8dd4c..901f47c 100644 --- a/charts/uptime-kuma/values.yaml +++ b/charts/uptime-kuma/values.yaml @@ -149,3 +149,9 @@ serviceMonitor: additionalLabels: {} # -- Additional annotations to add to the ServiceMonitor annotations: {} + +# -- Use this option to set a custom DNS policy to the created deployment +dnsPolicy: "" + +# -- Use this option to set custom DNS configurations to the created deployment +dnsConfig: {}