npm: fix falsy value interpreted wrong (#2499)

This commit is contained in:
Stavros Kois
2024-05-21 10:23:45 +03:00
committed by GitHub
parent 6f01187085
commit 5ee1940f2d
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ description: Expose your services easily and securely
annotations:
title: Nginx Proxy Manager
type: application
version: 1.0.31
version: 1.0.32
apiVersion: v2
appVersion: 2.11.2
kubeVersion: '>=1.16.0-0'

View File

@@ -1,6 +1,6 @@
{{- define "npm.workload" -}}
{{- if not .Values.npmID -}}
{{- $_ := set .Values "npmID" dict -}}
{{- $_ := set .Values "npmID" (dict "user" 568 "group" 568) -}}
{{- end }}
workload:
npm:
@@ -10,7 +10,7 @@ workload:
podSpec:
hostNetwork: false
securityContext:
fsGroup: {{ .Values.npmID.group | default 1000 }}
fsGroup: {{ .Values.npmID.group }}
containers:
npm:
enabled: true
@@ -33,7 +33,7 @@ workload:
# Needed for: Nginx Service
- FOWNER
fixedEnv:
PUID: {{ .Values.npmID.user | default 1000 }}
PUID: {{ .Values.npmID.user }}
env:
DISABLE_IPV6: true
DB_SQLITE_FILE: /data/database.sqlite