Skip to content

Commit

Permalink
Added Knative
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Farcic committed Dec 1, 2019
1 parent 4c4bd3a commit 736906d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/go-demo-6/templates/ksvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
env:
- name: DB
value: {{ template "fullname" . }}-db
{{- range $pkey, $pval := .Values.env }}
- name: {{ $pkey }}
value: {{ quote $pval }}
{{- end }}
livenessProbe:
httpGet:
path: {{ .Values.probePath }}
Expand All @@ -28,6 +32,7 @@ spec:
successThreshold: {{ .Values.livenessProbe.successThreshold }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
readinessProbe:
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
httpGet:
path: {{ .Values.probePath }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
Expand Down

0 comments on commit 736906d

Please sign in to comment.