[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:
committed by
Nadezhda Lavrentieva
parent
a4b2c99c25
commit
ac441a108b
12
.helm/values.dev.yaml
Normal file
12
.helm/values.dev.yaml
Normal 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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
12
.helm/values.test.yaml
Normal 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
|
||||
Reference in New Issue
Block a user