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
|
apiVersion: v2
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
name: chevereto
|
name: chevereto
|
||||||
version: 0.0.29
|
version: 0.0.30
|
||||||
appVersion: "1.6.2"
|
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.
|
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
|
type: application
|
||||||
|
|||||||
@@ -74,24 +74,24 @@ questions:
|
|||||||
- value: "OnDelete"
|
- value: "OnDelete"
|
||||||
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
- variable: env
|
- variable: chevereto
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Chevereto Configuration"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: CHEVERETO_HTTPS
|
- variable: https
|
||||||
label: "CHEVERETO_HTTPS"
|
label: "CHEVERETO_HTTPS"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: CHEVERETO_DISABLE_UPDATE_HTTP
|
- variable: disable_update_http
|
||||||
label: "CHEVERETO_DISABLE_UPDATE_HTTP"
|
label: "CHEVERETO_DISABLE_UPDATE_HTTP"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- variable: CHEVERETO_DISABLE_UPDATE_CLI
|
- variable: disable_update_cli
|
||||||
label: "CHEVERETO_DISABLE_UPDATE_CLI"
|
label: "CHEVERETO_DISABLE_UPDATE_CLI"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|||||||
@@ -17,10 +17,23 @@ env:
|
|||||||
CHEVERETO_DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
CHEVERETO_DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
||||||
CHEVERETO_DB_PORT: "3306"
|
CHEVERETO_DB_PORT: "3306"
|
||||||
CHEVERETO_TAG: "free"
|
CHEVERETO_TAG: "free"
|
||||||
# User Defined
|
|
||||||
CHEVERETO_HTTPS: false
|
envFrom:
|
||||||
CHEVERETO_DISABLE_UPDATE_HTTP: true
|
- configMapRef:
|
||||||
CHEVERETO_DISABLE_UPDATE_CLI: true
|
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:
|
envValueFrom:
|
||||||
CHEVERETO_DB_HOST:
|
CHEVERETO_DB_HOST:
|
||||||
|
|||||||
Reference in New Issue
Block a user