init
This commit is contained in:
parent
14d92a0d68
commit
f215222438
@ -2,6 +2,9 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{$.Release.Name}}-{{$.Values.name}}"
|
name: "{{$.Release.Name}}-{{$.Values.name}}"
|
||||||
|
annotations:
|
||||||
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
{{- toYaml $.Values.labels | nindent 4 }}
|
{{- toYaml $.Values.labels | nindent 4 }}
|
||||||
@ -9,8 +12,6 @@ metadata:
|
|||||||
app.kubernetes.io/name: {{$.Values.name}}
|
app.kubernetes.io/name: {{$.Values.name}}
|
||||||
app.kubernetes.io/instance: {{ $.Release.Name }}
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|
||||||
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
|
||||||
spec:
|
spec:
|
||||||
{{- if not $.Values.autoscaling.enabled }}
|
{{- if not $.Values.autoscaling.enabled }}
|
||||||
{{ if $.Values.replicaCount }}
|
{{ if $.Values.replicaCount }}
|
||||||
|
|||||||
@ -2,6 +2,9 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{$.Release.Name}}-{{$.Values.name}}"
|
name: "{{$.Release.Name}}-{{$.Values.name}}"
|
||||||
|
annotations:
|
||||||
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
{{- toYaml $.Values.labels | nindent 4 }}
|
{{- toYaml $.Values.labels | nindent 4 }}
|
||||||
@ -9,8 +12,6 @@ metadata:
|
|||||||
app.kubernetes.io/name: {{$.Values.name}}
|
app.kubernetes.io/name: {{$.Values.name}}
|
||||||
app.kubernetes.io/instance: {{ $.Release.Name }}
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|
||||||
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ $.Chart.AppVersion | quote }}
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
|
||||||
spec:
|
spec:
|
||||||
{{- if not $.Values.autoscaling.enabled }}
|
{{- if not $.Values.autoscaling.enabled }}
|
||||||
{{ if $.Values.replicaCount }}
|
{{ if $.Values.replicaCount }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user