first commit
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: aqua-bearer-token
|
||||
namespace: aqua
|
||||
type: Opaque
|
||||
data:
|
||||
bearer_token: ZWY3MWUwYWJmNTY0YjU3MzYzN2ZkNTFlMmY5MzU5MGY4NGZiZGNkZQ==
|
||||
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1alpha1
|
||||
kind: ScrapeConfig
|
||||
metadata:
|
||||
labels:
|
||||
app: aqua-server-console
|
||||
prometheus: main
|
||||
name: aqua-metrics-main
|
||||
namespace: aqua
|
||||
spec:
|
||||
authorization:
|
||||
credentials:
|
||||
key: bearer_token
|
||||
name: aqua-bearer-token
|
||||
honorLabels: true
|
||||
metricsPath: /metrics
|
||||
scheme: HTTP
|
||||
staticConfigs:
|
||||
- targets:
|
||||
- aqua-server-console-svc.aqua.svc.techno.p.mesh.:8080
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: example-metric
|
||||
data:
|
||||
recording-rules.yaml: |
|
||||
groups:
|
||||
- name: example_recordings
|
||||
rules:
|
||||
- record: example_metric
|
||||
expr: vector(1)
|
||||
Reference in New Issue
Block a user