feat(apps): move user/pass/secrets/keys from env to secret (#1501)

* feat(apps): move user/pass/secrets/keys from `env` to `secret`

* uptimerobot-prometheus

* podgrab

* grafana

* nextcloud

* openldap, also fix some variable types

* healthchecks

* onlyoffice

* transmission

* fix variable type (stash)

* handbrake (also fix some variable types)

* jd2 (also fix some var  values

* whoops

* try this

* bump major

* fix calibre var type

* fix var types on 2 apps

* add placeholders on questions and set `private: true` on passwords/tokens/secrets
This commit is contained in:
Stavros Kois
2021-12-11 13:49:05 +01:00
committed by GitHub
parent a3077e87b2
commit e14d7a3813
63 changed files with 460 additions and 348 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ name: valheim
sources:
- https://github.com/lloesche/valheim-server-docker
- https://hub.docker.com/r/lloesche/valheim-server
version: 1.0.19
version: 2.0.0
annotations:
truecharts.org/catagories: |
- media
+26 -19
View File
@@ -73,7 +73,32 @@ questions:
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
type: dict
attrs:
- variable: SUPERVISOR_HTTP_USER
label: "SUPERVISOR_HTTP_USER"
schema:
type: string
default: "admin"
required: true
- variable: SUPERVISOR_HTTP_PASS
label: "SUPERVISOR_HTTP_PASS"
schema:
type: string
required: true
private: true
default: "REPLACETHIS"
- variable: SERVER_PASS
label: "SERVER_PASS"
schema:
type: string
required: true
private: true
default: "REPLACETHIS"
- variable: env
group: "Container Configuration"
label: "Image Environment"
@@ -105,18 +130,6 @@ questions:
schema:
type: boolean
default: true
- variable: SUPERVISOR_HTTP_USER
label: "SUPERVISOR_HTTP_USER"
schema:
type: string
default: "admin"
required: true
- variable: SUPERVISOR_HTTP_PASS
label: "SUPERVISOR_HTTP_PASS"
schema:
type: string
default: ""
required: true
- variable: SERVER_NAME
label: "SERVER_NAME"
schema:
@@ -136,12 +149,6 @@ questions:
type: string
default: "Dedicated"
required: true
- variable: SERVER_PASS
label: "SERVER_PASS"
schema:
type: string
default: ""
required: true
- variable: SERVER_PUBLIC
label: "SERVER_PUBLIC"
schema:
+4 -3
View File
@@ -6,6 +6,10 @@ image:
# -- image pull policy
pullPolicy: IfNotPresent
secret:
SUPERVISOR_HTTP_USER: admin
SUPERVISOR_HTTP_PASS: secret
SERVER_PASS: secret
# -- environment variables. See [image docs](https://github.com/lloesche/valheim-server-docker#environment-variables) for more details.
# @default -- See below
env:
@@ -15,12 +19,9 @@ env:
STATUS_HTTP_PORT: 9010
SUPERVISOR_HTTP_PORT: 9011
SUPERVISOR_HTTP: true
SUPERVISOR_HTTP_USER: admin
SUPERVISOR_HTTP_PASS: secret
SERVER_NAME: My Server
SERVER_PORT: 2456
WORLD_NAME: Dedicated
SERVER_PASS: secret
SERVER_PUBLIC: true
UPDATE_INTERVAL: 10800
BACKUPS: true