Publish new changes in catalog

This commit is contained in:
sonicaj
2024-04-05 11:19:45 +00:00
parent a817e168a5
commit 41f8760980
33 changed files with 45 additions and 10 deletions

View File

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

View File

@@ -12,6 +12,9 @@ npmNetwork:
webPort: 30020
httpPort: 30021
httpsPort: 30022
npmID:
user: 568
group: 568
npmStorage:
data:
type: ixVolume

View File

@@ -16,6 +16,15 @@ def migrate(values):
values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'}
# If there is no npmID, add it defaults to
# 1000 to account for existing installations
if values.get('npmID', None) is None:
values.update({
'npmID': {
'user': 1000,
'group': 1000
}
})
return values

View File

@@ -59,6 +59,28 @@ questions:
schema:
type: string
required: true
- variable: npmID
label: ""
group: User and Group Configuration
schema:
type: dict
attrs:
- variable: user
label: User ID
description: The user id that Nginx Proxy Manager files will be owned by.
schema:
type: int
min: 2
default: 568
required: true
- variable: group
label: Group ID
description: The group id that Nginx Proxy Manager files will be owned by.
schema:
type: int
min: 2
default: 568
required: true
- variable: npmNetwork
label: ""

View File

@@ -1,4 +1,7 @@
{{- define "npm.workload" -}}
{{- if not .Values.npmID -}}
{{- $_ := set .Values "npmID" dict -}}
{{- end }}
workload:
npm:
enabled: true
@@ -7,7 +10,7 @@ workload:
podSpec:
hostNetwork: false
securityContext:
fsGroup: 1000
fsGroup: {{ .Values.npmID.group | default 1000 }}
containers:
npm:
enabled: true
@@ -30,9 +33,7 @@ workload:
# Needed for: Nginx Service
- FOWNER
fixedEnv:
# FIXME: Revisit once upstream irons out some issues in regarids with PUID.
# Make sure 568 PUID works before exposing
PUID: 1000
PUID: {{ .Values.npmID.user | default 1000 }}
env:
DISABLE_IPV6: true
DB_SQLITE_FILE: /data/database.sqlite

View File

@@ -3,10 +3,10 @@ description: Unifi Controller is a network management controller for Unifi Equip
annotations:
title: Unifi Controller
type: application
version: 1.3.6
version: 1.3.7
apiVersion: v2
appVersion: 8.1.113
kubeVersion: '>=1.16.0-0'
kubeVersion: ">=1.16.0-0"
maintainers:
- name: truenas
url: https://www.truenas.com/

View File

@@ -74,8 +74,8 @@ questions:
max: 65535
required: true
- variable: enableWebHttp
label: Enable Web HTTP
description: Enable HTTP for the Unifi Controller Web UI.
label: Enable Web HTTP / Inform Port
description: Enable HTTP for the Unifi Controller Inform Port.
schema:
type: boolean
default: false
@@ -391,7 +391,7 @@ questions:
schema:
type: string
max_length: 12
valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
valid_chars_error: |
Valid Memory limit formats are</br>
- Suffixed with E/P/T/G/M/K - eg. 1G</br>