slaventius 2 years ago
parent e9bf59e122
commit b0c2a977a7
  1. 11
      deploy/auth-postman-config.yaml
  2. 23
      deploy/auth-postman-deployment.yaml

@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: auth-postman-config
data:
SMTP_HOST: "smtp.mail.ru"
SMTP_PORT: "587"
SMTP_SENDER: "test3kbot@mail.ru"
SMTP_PASSWORD: "hwNhMgPyBzMjwCj3hFPp"
KAFKA_HOST: "37.143.12.169"
KAFKA_PORT: "9092"

@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-postman-application
labels:
app: auth-postman-application
spec:
replicas: 3
selector:
matchLabels:
app: auth-postman-application
template:
metadata:
labels:
app: auth-postman-application
spec:
containers:
- name: auth-postman
image: slaventius/test3k_auth_postman:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
name: auth-postman-config
Loading…
Cancel
Save