diff --git a/charts/linkwarden/Chart.yaml b/charts/linkwarden/Chart.yaml index df4ef35..881408e 100644 --- a/charts/linkwarden/Chart.yaml +++ b/charts/linkwarden/Chart.yaml @@ -5,7 +5,7 @@ apiVersion: v2 appVersion: 2.5.3 kubeVersion: ">=1.26.0-0" name: linkwarden -version: 0.3.3 +version: 0.3.4 dependencies: - name: postgresql repository: oci://registry-1.docker.io/bitnamicharts @@ -51,5 +51,5 @@ annotations: org.opencontainers.image.licenses: "MIT" # ref: https://artifacthub.io/docs/topics/annotations/helm/ artifacthub.io/changes: | - - kind: removed - description: convert 'existingSecret' from object to string and fixed key to 'uri' + - kind: fixed + description: add missing env to disable registration diff --git a/charts/linkwarden/templates/configmap.yaml b/charts/linkwarden/templates/configmap.yaml index 54123cf..8609910 100644 --- a/charts/linkwarden/templates/configmap.yaml +++ b/charts/linkwarden/templates/configmap.yaml @@ -29,6 +29,9 @@ data: {{- end }} AUTOSCROLL_TIMEOUT: {{ .Values.linkwarden.autoscrollTimeout | quote }} RE_ARCHIVE_LIMIT: {{ .Values.linkwarden.rearchiveLimit | quote }} + {{- if .Values.linkwarden.auth.disableRegistration }} + NEXT_PUBLIC_DISABLE_REGISTRATION: {{ .Values.linkwarden.auth.disableRegistration | quote }} + {{- end }} {{- if .Values.linkwarden.maxFileSize }} NEXT_PUBLIC_MAX_FILE_SIZE: {{ .Values.linkwarden.maxFileSize | quote }} {{- end }}