diff --git a/.gitea/workflows/build-backend.yml b/.gitea/workflows/build-backend.yml index 93dbca2..a0d86d2 100644 --- a/.gitea/workflows/build-backend.yml +++ b/.gitea/workflows/build-backend.yml @@ -18,8 +18,9 @@ on: type: choice options: - devx + - dev - test - - prod + - production default: devx branch: description: 'Ветка' diff --git a/devspc/devspace-gateway/values.yaml b/devspc/devspace-gateway/values.yaml index 4656108..21f8776 100644 --- a/devspc/devspace-gateway/values.yaml +++ b/devspc/devspace-gateway/values.yaml @@ -11,8 +11,8 @@ vault: roleId: '85a3c725-075b-b107-b948-a076625a1a37' secretId: 'b36b7b4c-5da4-d5cf-1cdf-f367bd52b475' services: - core: 'devspace-apiregistry-core-service-agent' - generator: 'devspace-apiregistry-generator-service-agent' + core: 'devspace-apiregistry-core-service-agent:8080' + generator: 'devspace-apiregistry-generator-service-agent:8080' keycloak: jwk: 'http://192.168.76.150/realms/devspace-dev/protocol/openid-connect/certs' claimName: 'dev-space' diff --git a/devspc/stands/dev/values.yaml b/devspc/stands/dev/values.yaml new file mode 100644 index 0000000..64ba012 --- /dev/null +++ b/devspc/stands/dev/values.yaml @@ -0,0 +1,4 @@ +database: + url: '192.168.76.114:5432/dev' + user: 'postgres' + password: 'postgres' \ No newline at end of file diff --git a/devspc/stands/prod/values.yaml b/devspc/stands/prod/values.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/devspc/stands/production/values.yaml b/devspc/stands/production/values.yaml new file mode 100644 index 0000000..837d073 --- /dev/null +++ b/devspc/stands/production/values.yaml @@ -0,0 +1,4 @@ +database: + url: '192.168.76.114:5432/production' + user: 'postgres' + password: 'postgres' \ No newline at end of file diff --git a/devspc/stands/test/values.yaml b/devspc/stands/test/values.yaml index d77c878..51268e7 100644 --- a/devspc/stands/test/values.yaml +++ b/devspc/stands/test/values.yaml @@ -1,4 +1,4 @@ database: - url: '192.168.76.114:5432/database' + url: '192.168.76.114:5432/test' user: 'postgres' password: 'postgres' \ No newline at end of file