[TC-642] modify template (#3)

https://eva.avroid.tech/desk/Task/TC-642#be-dorabotat-shablon-servisov-backend

Дорабатываем шаблон сервисов по требованиям: https://eva.avroid.tech/project/Document/DOC-002710#trebovanija-k-versijam

Reviewed-on: https://git.avroid.tech/Templates/template-backend-service/pulls/3
Reviewed-by: Victor Stratov <victor.stratov@avroid.team>
Reviewed-by: Petr Brovchenko <petr.brovchenko@avroid.team>
Co-authored-by: Nadezhda <nadezhda.lavrentieva@avroid.team>
Co-committed-by: Nadezhda <nadezhda.lavrentieva@avroid.team>
This commit is contained in:
Nadezhda
2024-12-16 10:26:11 +03:00
committed by Nadezhda Lavrentieva
parent a4b2c99c25
commit ac441a108b
33 changed files with 782 additions and 862 deletions

12
.helm/values.dev.yaml Normal file
View File

@@ -0,0 +1,12 @@
replicaCount: 1
extraEnv:
POSTGRES_DSN:
value: "postgresql://test:test@postgresql:5432/messenger"
PORT:
value: "8000"
ENVIRONMENT:
value: "dev"
service:
port: 8000

View File

@@ -1,32 +0,0 @@
replicaCount: 1
extraEnv:
POSTGRES_USER:
value: "test"
POSTGRES_PASSWORD:
value: "test"
POSTGRES_HOST:
value: "cloud-postgres.avroid.cloud"
POSTGRES_DB:
value: "messenger"
POSTGRES_PORT:
value: "5432"
SCYLLADB_HOST:
value: "cloud-scylla.avroid.cloud"
SCYLLADB_PORT:
value: "9042"
SCYLLADB_USER:
value: "test"
SCYLLADB_PASSWORD:
value: "test"
SCYLLADB_KEYSPACE:
value: "messenger"
PORT:
value: "8000"
ENVIRONMENT:
value: "preprod"
service:
port: 8000

View File

@@ -1,31 +1,12 @@
replicaCount: 1
extraEnv:
POSTGRES_USER:
value: "test"
POSTGRES_PASSWORD:
value: "test"
POSTGRES_HOST:
value: "cloud-postgres.avroid.cloud"
POSTGRES_DB:
value: "messenger"
POSTGRES_PORT:
value: "5432"
SCYLLADB_HOST:
value: "cloud-scylla.avroid.cloud"
SCYLLADB_PORT:
value: "9042"
SCYLLADB_USER:
value: "test"
SCYLLADB_PASSWORD:
value: "test"
SCYLLADB_KEYSPACE:
value: "messenger"
POSTGRES_DSN:
value: "postgresql://test:test@postgresql:5432/messenger"
PORT:
value: "8000"
ENVIRONMENT:
value: "production"
value: "prod"
service:
port: 8000

View File

@@ -1,27 +1,8 @@
replicaCount: 1
extraEnv:
POSTGRES_USER:
value: "test"
POSTGRES_PASSWORD:
value: "test"
POSTGRES_HOST:
value: "cloud-postgres.avroid.cloud"
POSTGRES_DB:
value: "messenger"
POSTGRES_PORT:
value: "5432"
SCYLLADB_HOST:
value: "cloud-scylla.avroid.cloud"
SCYLLADB_PORT:
value: "9042"
SCYLLADB_USER:
value: "test"
SCYLLADB_PASSWORD:
value: "test"
SCYLLADB_KEYSPACE:
value: "messenger"
POSTGRES_DSN:
value: "postgresql://test:test@postgresql:5432/messenger"
PORT:
value: "8000"
ENVIRONMENT:

12
.helm/values.test.yaml Normal file
View File

@@ -0,0 +1,12 @@
replicaCount: 1
extraEnv:
POSTGRES_DSN:
value: "postgresql://test:test@postgresql:5432/messenger"
PORT:
value: "8000"
ENVIRONMENT:
value: "test"
service:
port: 8000