added Deployment files for Kubernetes
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
3ec9991f12
commit
2f40ad1c34
1 changed files with 31 additions and 0 deletions
31
deploy/deployment.yaml
Normal file
31
deploy/deployment.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: fahdbot
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: fahdbot
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: fahdbot
|
||||
spec:
|
||||
containers:
|
||||
- image: git.sakoma.wang/llamprecht/fahdbot:3ec9991f129b90345ffe14b7cbc19ec34b038e43
|
||||
env:
|
||||
- name: TZ
|
||||
value: Europe/Berlin
|
||||
- name: DISCORD_TOKEN
|
||||
value: ""
|
||||
- name: DISCORD_GUILD_ID
|
||||
value: ""
|
||||
- name: DISCORD_GROUP_ID
|
||||
value: ""
|
||||
imagePullPolicy: Always
|
||||
name: fahdbot
|
||||
restartPolicy: Always
|
||||
Loading…
Reference in a new issue