first commit

This commit is contained in:
Ruslan Piatrovich
2024-08-07 16:57:50 +03:00
commit 8eaa7aa47b
11 changed files with 679 additions and 0 deletions
@@ -0,0 +1,56 @@
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