fixed helm chart
All checks were successful
the build was successful

This commit is contained in:
ston1th 2019-01-18 21:54:13 +01:00
commit 10ad216fcf
7 changed files with 41 additions and 10 deletions

View file

@ -10,6 +10,11 @@ metadata:
component: srv
spec:
replicas: {{ .Values.srv.replicas }}
selector:
matchLabels:
app: {{ template "testapp.name" . }}-srv
release: "{{ .Release.Name }}"
component: srv
template:
metadata:
annotations:
@ -42,7 +47,7 @@ spec:
protocol: TCP
env:
- name: DB_HOST
value: {{ template "testapp.fullname" . }}-db.{{ Release.Namespace }}.svc
value: {{ template "testapp.fullname" . }}-db.{{ .Release.Namespace }}.svc
{{- range $key, $value := .Values.srv.env }}
- name: {{ $key }}
value: {{ $value | quote }}