Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix helm securityContext (#640)
amplsc7fd631f86a5
diff --git a/deploy/helm/pulse/Chart.yaml b/deploy/helm/pulse/Chart.yamlindex 2ff6913973..bb6362841c 100644--- a/deploy/helm/pulse/Chart.yaml+++ b/deploy/helm/pulse/Chart.yaml@@ -2,8 +2,8 @@ apiVersion: v2name: pulsedescription: Helm chart for deploying the Pulse hub and optional Docker monitoring agent.type: application-version: 4.26.0-appVersion: "4.26.0"+version: 4.26.1+appVersion: "4.26.1"icon: https://raw.githubusercontent.com/rcourtman/Pulse/main/docs/images/pulse-logo.svgkeywords:- monitoringdiff --git a/deploy/helm/pulse/templates/deployment.yaml b/deploy/helm/pulse/templates/deployment.yamlindex 7e2d2abfe3..8a1a648148 100644--- a/deploy/helm/pulse/templates/deployment.yaml+++ b/deploy/helm/pulse/templates/deployment.yaml@@ -23,10 +23,14 @@ spec:{{- end }}spec:serviceAccountName: {{ include "pulse.serviceAccountName" . }}- {{- $podSecurityContext := merge (dict) .Values.podSecurityContext .Values.server.podSecurityContext }}+ {{- $podSecurityContext :=+ ternary+ (merge (dict) .Values.podSecurityContext .Values.server.podSecurityContext)+ .Values.server.podSecurityContext+ .Values.podSecurityContext.enabled }}{{- if $podSecurityContext }}securityContext:- {{- toYaml $podSecurityContext | nindent 8 }}+ {{- omit $podSecurityContext "enabled" | toYaml | nindent 8 }}{{- end }}{{- with .Values.imagePullSecrets }}imagePullSecrets:@@ -39,10 +43,14 @@ spec:ports:- name: httpcontainerPort: 7655- {{- $containerSecurityContext := merge (dict) .Values.securityContext .Values.server.securityContext }}+ {{- $containerSecurityContext :=+ ternary+ (merge (dict) .Values.containerSecurityContext .Values.server.securityContext)+ .Values.server.securityContext+ .Values.containerSecurityContext.enabled }}{{- if $containerSecurityContext }}securityContext:- {{- toYaml $containerSecurityContext | nindent 12 }}+ {{- omit $containerSecurityContext "enabled" | toYaml | nindent 12 }}{{- end }}{{- $envList := list }}{{- range .Values.server.env }}diff --git a/deploy/helm/pulse/values.yaml b/deploy/helm/pulse/values.yamlindex 8a501062fc..9f62371d5b 100644--- a/deploy/helm/pulse/values.yaml+++ b/deploy/helm/pulse/values.yaml@@ -22,13 +22,16 @@ serviceAccount:podAnnotations: {}podLabels: {}-podSecurityContext: {}+podSecurityContext:+ enabled: true+ fsGroup: 1000-securityContext:+containerSecurityContext:+ enabled: truerunAsNonRoot: truerunAsUser: 1000runAsGroup: 1000- fsGroup: 1000+service:type: ClusterIP