From d7947cd8a8c27d2fedb2dafbd79cdf8995b92b89 Mon Sep 17 00:00:00 2001 From: subochev Date: Tue, 7 Apr 2026 22:17:58 +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 --- devspc/devspace-gateway/templates/deployment.yaml | 8 ++++---- devspc/devspace-gateway/templates/ingress.yaml | 4 ++-- devspc/devspace-gateway/templates/service.yaml | 4 ++-- devspc/devspace-gateway/values.yaml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/devspc/devspace-gateway/templates/deployment.yaml b/devspc/devspace-gateway/templates/deployment.yaml index b960138..07ee763 100644 --- a/devspc/devspace-gateway/templates/deployment.yaml +++ b/devspc/devspace-gateway/templates/deployment.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: "{{$.Release.Name}}-{{$.Values.name}}" + name: "{{$.Release.Name}}-{{$.Chart.Name}}" annotations: devspace.isb/name: {{ $.Values.repository.name | quote }} devspace.isb/branch: {{ $.Values.repository.branch | quote }} @@ -10,7 +10,7 @@ metadata: {{- if $.Values.labels}} {{- toYaml $.Values.labels | nindent 4 }} {{- end}} - app.kubernetes.io/name: {{$.Values.name}} + app.kubernetes.io/name: {{$.Chart.Name}} app.kubernetes.io/instance: {{ $.Release.Name }} app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }} spec: @@ -23,7 +23,7 @@ spec: {{- end }} selector: matchLabels: - app.kubernetes.io/name: {{$.Values.name}} + app.kubernetes.io/name: {{$.Chart.Name}} app.kubernetes.io/instance: {{ $.Release.Name }} template: metadata: @@ -37,7 +37,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - app.kubernetes.io/name: {{$.Values.name}} + app.kubernetes.io/name: {{$.Chart.Name}} app.kubernetes.io/instance: {{ $.Release.Name }} {{/* app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}*/}} spec: diff --git a/devspc/devspace-gateway/templates/ingress.yaml b/devspc/devspace-gateway/templates/ingress.yaml index 3262112..ffa7fbd 100644 --- a/devspc/devspace-gateway/templates/ingress.yaml +++ b/devspc/devspace-gateway/templates/ingress.yaml @@ -1,7 +1,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{$.Release.Name}}-{{$.Values.name}} + name: {{$.Release.Name}}-{{$.Chart.Name}} namespace: {{$.Release.Namespace}} annotations: traefik.ingress.kubernetes.io/router.middlewares: {{$.Release.Namespace}}-{{$.Release.Name}}-url-prefix@kubernetescrd @@ -14,6 +14,6 @@ spec: pathType: Prefix backend: service: - name: "{{ $.Release.Name }}-{{ $.Values.name }}" + name: "{{ $.Release.Name }}-{{ $.Chart.Name }}" port: number: {{ $.Values.port }} \ No newline at end of file diff --git a/devspc/devspace-gateway/templates/service.yaml b/devspc/devspace-gateway/templates/service.yaml index bc2cb7d..a8c06f9 100644 --- a/devspc/devspace-gateway/templates/service.yaml +++ b/devspc/devspace-gateway/templates/service.yaml @@ -1,10 +1,10 @@ apiVersion: v1 kind: Service metadata: - name: "{{$.Release.Name}}-{{$.Values.name}}" + name: "{{$.Release.Name}}-{{$.Chart.Name}}" spec: selector: - app.kubernetes.io/name: {{$.Values.name}} + app.kubernetes.io/name: {{$.Chart.Name}} app.kubernetes.io/instance: {{ $.Release.Name }} ports: - protocol: TCP diff --git a/devspc/devspace-gateway/values.yaml b/devspc/devspace-gateway/values.yaml index 21c13a1..4656108 100644 --- a/devspc/devspace-gateway/values.yaml +++ b/devspc/devspace-gateway/values.yaml @@ -15,7 +15,7 @@ services: generator: 'devspace-apiregistry-generator-service-agent' keycloak: jwk: 'http://192.168.76.150/realms/devspace-dev/protocol/openid-connect/certs' - claimName: 'development-space' + claimName: 'dev-space' ingress: host: 'ui.devx.kube.xx' prefix: '/devspace-gateway' \ No newline at end of file