imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Add a twitch secret and youtube api key to wasdead
2020-10-10, Gary Kramlich
770075678684
Parents
10e7cf30c251
Children
6b8e438d924f
Add a twitch secret and youtube api key to wasdead
1 files changed, 14 insertions(+), 2 deletions(-)
+14
-2
50-wasdead.yaml
--- a/50-wasdead.yaml Sat Oct 10 04:56:09 2020 -0500
+++ b/50-wasdead.yaml Sat Oct 10 05:01:58 2020 -0500
@@ -18,6 +18,8 @@
name: wasdead
labels:
app: wasdead
+ annotations:
+ tagpull/autoupdate: 15m
spec:
replicas: 1
selector:
@@ -47,16 +49,26 @@
image: rwgrim/wasdead:latest
imagePullPolicy: Always
env:
+ - name: DISCORD_TOKEN
+ valueFrom:
+ secretKeyRef:
+ name: wasdead
+ key: discord_token
- name: TWITCH_CLIENT_ID
valueFrom:
secretKeyRef:
name: wasdead
key: twitch_client_id
- - name: DISCORD_TOKEN
+ - name: TWITCH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: wasdead
- key: discord_token
+ key: twitch_client_secret
+ - name: YOUTUBE_API_KEY
+ valueFrom:
+ secretKeyRef:
+ name: wasdead
+ key: youtube_api_key
resources:
limits:
cpu: 50m