From ba3ab83fd662f2afbca34f4ccd2636e47f50fc0f Mon Sep 17 00:00:00 2001 From: subochev Date: Wed, 8 Apr 2026 13:35:28 +0300 Subject: [PATCH] =?UTF-8?q?DEVX-200:=20[BE]=20=D0=A3=D0=BD=D0=B8=D1=84?= =?UTF-8?q?=D0=B8=D1=86=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BD=D1=8F=D1=82=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=81?= =?UTF-8?q?=D0=B8=D0=B8=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-backend.yml | 4 ++-- .gitea/workflows/build-frontend.yml | 4 ++-- devspc/devspace-api/values.yaml | 1 + devspc/devspace-apiregistry-core-service/values.yaml | 1 + devspc/devspace-apiregistry-generator-service/values.yaml | 1 + devspc/devspace-gateway/values.yaml | 1 + devspc/devspace-selfkit-ui/values.yaml | 1 + devspc/stands/production/values.yaml | 4 +++- devspc/stands/values.yaml | 2 ++ 9 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-backend.yml b/.gitea/workflows/build-backend.yml index a0d86d2..2d2fa7a 100644 --- a/.gitea/workflows/build-backend.yml +++ b/.gitea/workflows/build-backend.yml @@ -1,4 +1,4 @@ -name: 'Build Backend' +name: 'Deploy Backend' on: workflow_dispatch: inputs: @@ -89,8 +89,8 @@ jobs: --set-string 'repository.name=${{ github.event.inputs.repo_path }}' \ --set-string 'repository.branch=${{ github.event.inputs.branch }}' \ --set "imagePullSecrets[0].name=regcred" \ - -f ./helms/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml \ -f ./helms/devspc/stands/values.yaml \ + -f ./helms/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml \ --wait - name: 'Cleanup' if: always() diff --git a/.gitea/workflows/build-frontend.yml b/.gitea/workflows/build-frontend.yml index b231392..3d00903 100644 --- a/.gitea/workflows/build-frontend.yml +++ b/.gitea/workflows/build-frontend.yml @@ -1,4 +1,4 @@ -name: 'Build Frontend' +name: 'Deploy Frontend' on: workflow_dispatch: inputs: @@ -136,8 +136,8 @@ jobs: --set-string 'repository.name=${{ github.event.inputs.repo_path }}' \ --set-string 'repository.branch=${{ github.event.inputs.branch }}' \ --set "imagePullSecrets[0].name=regcred" \ - -f "${{ github.workspace }}/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml" \ -f "${{ github.workspace }}/devspc/values.yaml" \ + -f "${{ github.workspace }}/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml" \ --wait - name: 'Cleanup' if: always() diff --git a/devspc/devspace-api/values.yaml b/devspc/devspace-api/values.yaml index 5cfb354..98cead8 100644 --- a/devspc/devspace-api/values.yaml +++ b/devspc/devspace-api/values.yaml @@ -12,6 +12,7 @@ image: pullPolicy: Always version: '' ingress: + domain: 'ui' host: 'ui.devx.kube.xx' prefix: '/devspace-api' s3: diff --git a/devspc/devspace-apiregistry-core-service/values.yaml b/devspc/devspace-apiregistry-core-service/values.yaml index c597f3d..ceb373a 100644 --- a/devspc/devspace-apiregistry-core-service/values.yaml +++ b/devspc/devspace-apiregistry-core-service/values.yaml @@ -11,6 +11,7 @@ image: pullPolicy: Always version: '' ingress: + domain: 'core' host: 'core.devx.kube.xx' name: agent securityContext: diff --git a/devspc/devspace-apiregistry-generator-service/values.yaml b/devspc/devspace-apiregistry-generator-service/values.yaml index 355b516..0b96cd8 100644 --- a/devspc/devspace-apiregistry-generator-service/values.yaml +++ b/devspc/devspace-apiregistry-generator-service/values.yaml @@ -11,6 +11,7 @@ image: pullPolicy: Always version: '' ingress: + domain: 'generator' host: 'generator.devx.kube.xx' name: agent securityContext: diff --git a/devspc/devspace-gateway/values.yaml b/devspc/devspace-gateway/values.yaml index 21f8776..aab743a 100644 --- a/devspc/devspace-gateway/values.yaml +++ b/devspc/devspace-gateway/values.yaml @@ -17,5 +17,6 @@ keycloak: jwk: 'http://192.168.76.150/realms/devspace-dev/protocol/openid-connect/certs' claimName: 'dev-space' ingress: + domain: 'ui' host: 'ui.devx.kube.xx' prefix: '/devspace-gateway' \ No newline at end of file diff --git a/devspc/devspace-selfkit-ui/values.yaml b/devspc/devspace-selfkit-ui/values.yaml index 68feee4..3cfc29e 100644 --- a/devspc/devspace-selfkit-ui/values.yaml +++ b/devspc/devspace-selfkit-ui/values.yaml @@ -11,5 +11,6 @@ image: pullPolicy: Always version: '' ingress: + domain: 'ui' host: 'ui.devx.kube.xx' prefix: '/devspace-ui' \ No newline at end of file diff --git a/devspc/stands/production/values.yaml b/devspc/stands/production/values.yaml index 837d073..9e20151 100644 --- a/devspc/stands/production/values.yaml +++ b/devspc/stands/production/values.yaml @@ -1,4 +1,6 @@ database: url: '192.168.76.114:5432/production' user: 'postgres' - password: 'postgres' \ No newline at end of file + password: 'postgres' +ingress: + host: '{{$.Values.ingress.domain}}.devspace.xx' \ No newline at end of file diff --git a/devspc/stands/values.yaml b/devspc/stands/values.yaml index e69de29..a24fa3d 100644 --- a/devspc/stands/values.yaml +++ b/devspc/stands/values.yaml @@ -0,0 +1,2 @@ +ingress: + host: '{{$.Values.ingress.domain}}.{{$.Release.Namespace}}.kube.xx' \ No newline at end of file