57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: aqua-notification-bot-secrets
|
|
namespace: aqua
|
|
labels:
|
|
app: aqua-notification-bot
|
|
type: Opaque
|
|
data:
|
|
API_KEY: bThab2dmeGFNMkFNWjk4Rmh1bWNCanVSUm45RVNjdm4=
|
|
MAILBOX: U0NBQHN1cHBvcnQubG1ydS50ZWNo
|
|
MAIL_USER: cnUxMDAwXFNDQS1zdmM=
|
|
MAIL_PASS: dzhSS0RYaDVaSkdEIXhkRnhldDRaQjJBVUgzOU1nVmpZU256VTNFdENRcllz
|
|
SECURITY_BOT_ID: cnhyb29yYWs5dGdldWQzNmg4eXdjeDNnNG8=
|
|
SECURITY_BOT_TOKEN: dTQzaXRxb2c5aW5weHBqZnk2azF0Z3B0cmE=
|
|
LOOP_CHAT_ID: ZHE4czhranRzYnI5dHB5cTdwcXc4a3U2ZHI=
|
|
LOG_LEVEL: REVCVUc=
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: aqua-notification-bot
|
|
namespace: aqua
|
|
labels:
|
|
app: aqua-notification-bot
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: aqua-notification-bot
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: aqua-notification-bot
|
|
spec:
|
|
containers:
|
|
- name: aqua-notification-bot
|
|
image: docker-local-devops.art.lmru.tech/aqua-notification-bot:latest
|
|
ports:
|
|
- containerPort: 5000
|
|
envFrom:
|
|
- secretRef:
|
|
name: aqua-notification-bot-secrets
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: aqua-notification-bot
|
|
namespace: aqua
|
|
spec:
|
|
selector:
|
|
app: aqua-notification-bot
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 5000
|