fix(chevereto): use 0/1 instead of true/false (#2312)
* fix(chevereto): use 0/1 instead of true/false * remove envs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: chevereto
|
||||
version: 0.0.29
|
||||
version: 0.0.30
|
||||
appVersion: "1.6.2"
|
||||
description: Chevereto is an image hosting software that allows you to create a beautiful and full-featured image hosting website on your own server.
|
||||
type: application
|
||||
|
||||
@@ -74,24 +74,24 @@ questions:
|
||||
- value: "OnDelete"
|
||||
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
||||
# Include{controllerExpert}
|
||||
- variable: env
|
||||
- variable: chevereto
|
||||
group: "Container Configuration"
|
||||
label: "Image Environment"
|
||||
label: "Chevereto Configuration"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: CHEVERETO_HTTPS
|
||||
- variable: https
|
||||
label: "CHEVERETO_HTTPS"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: CHEVERETO_DISABLE_UPDATE_HTTP
|
||||
- variable: disable_update_http
|
||||
label: "CHEVERETO_DISABLE_UPDATE_HTTP"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: CHEVERETO_DISABLE_UPDATE_CLI
|
||||
- variable: disable_update_cli
|
||||
label: "CHEVERETO_DISABLE_UPDATE_CLI"
|
||||
schema:
|
||||
type: boolean
|
||||
|
||||
@@ -17,10 +17,23 @@ env:
|
||||
CHEVERETO_DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
||||
CHEVERETO_DB_PORT: "3306"
|
||||
CHEVERETO_TAG: "free"
|
||||
# User Defined
|
||||
CHEVERETO_HTTPS: false
|
||||
CHEVERETO_DISABLE_UPDATE_HTTP: true
|
||||
CHEVERETO_DISABLE_UPDATE_CLI: true
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: '{{ include "common.names.fullname" . }}-chevereto'
|
||||
|
||||
chevereto:
|
||||
https: false
|
||||
disable_update_http: true
|
||||
disable_update_cli: true
|
||||
|
||||
configmap:
|
||||
chevereto:
|
||||
enabled: true
|
||||
data:
|
||||
CHEVERETO_HTTPS: "{{ ternary \"1\" \"0\" .Values.chevereto.https }}"
|
||||
CHEVERETO_DISABLE_UPDATE_HTTP: "{{ ternary \"1\" \"0\" .Values.chevereto.disable_update_http }}"
|
||||
CHEVERETO_DISABLE_UPDATE_CLI: "{{ ternary \"1\" \"0\" .Values.chevereto.disable_update_cli }}"
|
||||
|
||||
envValueFrom:
|
||||
CHEVERETO_DB_HOST:
|
||||
|
||||
Reference in New Issue
Block a user