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