main
slaventius 2 years ago
parent 803fb8bc89
commit a0cd5d9ca9
  1. 0
      deploy/.pre/auth-postman-config.yaml
  2. 0
      deploy/.pre/auth-postman-deployment.yaml
  3. 0
      deploy/.pre/auth-postman-secret.yaml
  4. 6
      deploy/helm/Chart.yaml
  5. 11
      deploy/helm/templates/config.yaml
  6. 25
      deploy/helm/templates/deployment.yaml
  7. 9
      deploy/helm/templates/secret.yaml
  8. 2
      deploy/helm/values.yaml

@ -0,0 +1,6 @@
apiVersion: apps/v1
name: auth-postman-HelmChart
description: Helm Chart for auth-postman
type: application
version: 0.1.0
appVersion: "1.0.0"

@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-config
data:
SMTP_HOST: "smtp.mail.ru"
SMTP_PORT: "587"
SMTP_SENDER: "test3kbotan@mail.ru"
KAFKA_HOST: "37.143.12.169"
KAFKA_PORT: "19092"
CHAT_ID: "150697696"

@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-application
labels:
app: {{ .Release.Name }}-application
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-application
template:
metadata:
labels:
app: {{ .Release.Name }}-application
spec:
containers:
- name: {{ .Release.Name }}-application
image: {{ .Values.container.image }}
imagePullPolicy: Always
envFrom:
- secretRef:
name: {{ .Release.Name }}-secret
- configMapRef:
name: {{ .Release.Name }}-config

@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-secret
type: Opaque
data:
SMTP_PASSWORD: dlNKWWZVYnBhbWlVRmtLeDFESkE=
CHAT_TOKEN: NTk2MDU3NzM3NTpBQUVaWVBaVjQtRXJ4UWJYNnlQMDg0cEl6Q0IwQlB4TjdpZw==
SENTRY_DSN: aHR0cHM6Ly8zZjRiMzFkYmJkOWE0YTZiOGE3MWY5ODgxZDk2MmYyNUBvNDUwNDY1NDU2OTc5OTY4MC5pbmdlc3Quc2VudHJ5LmlvLzQ1MDQ2NTQ1NzI2ODMyNjQ=

@ -0,0 +1,2 @@
container:
image: slaventius/test3k_auth_postman:latest
Loading…
Cancel
Save