-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apoddiscordbot.yaml.example
45 lines (45 loc) · 1.08 KB
/
apoddiscordbot.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: apps/v1
kind: Deployment
metadata:
name: apod-discord-bot
labels:
app: apod-discord-bot
spec:
replicas: 1
selector:
matchLabels:
app: apod-discord-bot
template:
metadata:
labels:
app: apod-discord-bot
spec:
containers:
- name: apod-discord-bot
image: ghcr.io/helixspiral/apod-mqtt-to-discord:latest
imagePullPolicy: IfNotPresent
env:
- name: MQTT_CLIENT_ID
value: apodDiscordSub
- name: MQTT_BROKER
valueFrom:
configMapKeyRef:
name: apod
key: MQTT_BROKER
- name: MQTT_TOPIC
valueFrom:
configMapKeyRef:
name: apod
key: MQTT_TOPIC
- name: DISCORD_BOT_TOKEN
valueFrom:
secretKeyRef:
name: apod
key: DISCORD_BOT_TOKEN
- name: DISCORD_CHANNEL_ID
valueFrom:
configMapKeyRef:
name: apod
key: DISCORD_CHANNEL_ID
imagePullSecrets:
- name: ghcr-credentials