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
|
name: leetbot
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Release.Name }}-token
|
name: {{ .Values.app.secret_name }}
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ .Release.Name }}-cm
|
name: {{ .Release.Name }}-cm
|
||||||
{{- if .Values.storage.enabled }}
|
{{- 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
|
repository: registry.local/northcode/leetbot
|
||||||
|
|
||||||
app:
|
app:
|
||||||
token: blabla
|
secret_name: leetbot-token
|
||||||
db: sqlite:leet.db
|
|
||||||
tz: Europe/Oslo
|
tz: Europe/Oslo
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user