imfreedom/k8s-cluster

770075678684
Parents 10e7cf30c251
Children 6b8e438d924f
Add a twitch secret and youtube api key to wasdead
--- 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