From b0c2a977a7df59aa32334bcc7fffca75c535f801 Mon Sep 17 00:00:00 2001 From: slaventius Date: Wed, 8 Feb 2023 19:37:33 +0300 Subject: [PATCH] * --- deploy/auth-postman-config.yaml | 11 +++++++++++ deploy/auth-postman-deployment.yaml | 23 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 deploy/auth-postman-config.yaml create mode 100644 deploy/auth-postman-deployment.yaml diff --git a/deploy/auth-postman-config.yaml b/deploy/auth-postman-config.yaml new file mode 100644 index 0000000..93344fa --- /dev/null +++ b/deploy/auth-postman-config.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" diff --git a/deploy/auth-postman-deployment.yaml b/deploy/auth-postman-deployment.yaml new file mode 100644 index 0000000..bbff27e --- /dev/null +++ b/deploy/auth-postman-deployment.yaml @@ -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