parent
803fb8bc89
commit
a0cd5d9ca9
8 changed files with 53 additions and 0 deletions
@ -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…
Reference in new issue