chart: make secret external
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
49026a2d17
commit
2131fd59b0
@ -19,7 +19,7 @@ spec:
|
||||
name: leetbot
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Release.Name }}-token
|
||||
name: {{ .Values.app.secret_name }}
|
||||
- configMapRef:
|
||||
name: {{ .Release.Name }}-cm
|
||||
{{- if .Values.storage.enabled }}
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-token
|
||||
data:
|
||||
TELEGRAM_BOT_TOKEN: {{ .Values.app.token | b64enc }}
|
||||
DB_URL: {{ .Values.app.db | b64enc }}
|
||||
@ -2,8 +2,7 @@ image:
|
||||
repository: registry.local/northcode/leetbot
|
||||
|
||||
app:
|
||||
token: blabla
|
||||
db: sqlite:leet.db
|
||||
secret_name: leetbot-token
|
||||
tz: Europe/Oslo
|
||||
|
||||
storage:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user