This commit is contained in:
subochev 2026-02-20 15:57:02 +03:00
parent 14d92a0d68
commit f215222438
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{$.Release.Name}}-{{$.Values.name}}"
annotations:
devspace.isb/name: {{ $.Values.repository.name | quote }}
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
labels:
{{- if $.Values.labels}}
{{- toYaml $.Values.labels | nindent 4 }}
@ -9,8 +12,6 @@ metadata:
app.kubernetes.io/name: {{$.Values.name}}
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
devspace.isb/name: {{ $.Values.repository.name | quote }}
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
spec:
{{- if not $.Values.autoscaling.enabled }}
{{ if $.Values.replicaCount }}

View File

@ -2,6 +2,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{$.Release.Name}}-{{$.Values.name}}"
annotations:
devspace.isb/name: {{ $.Values.repository.name | quote }}
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
labels:
{{- if $.Values.labels}}
{{- toYaml $.Values.labels | nindent 4 }}
@ -9,8 +12,6 @@ metadata:
app.kubernetes.io/name: {{$.Values.name}}
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
devspace.isb/name: {{ $.Values.repository.name | quote }}
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
spec:
{{- if not $.Values.autoscaling.enabled }}
{{ if $.Values.replicaCount }}