[stable/ipfs] Move livenessProbe to container config block (#19790)

* Move livenessProbe to container config block

Signed-off-by: Nate Walck <nate.walck@gmail.com>

* bump stable/ipfs chart version

Signed-off-by: Nate Walck <nate.walck@gmail.com>
This commit is contained in:
Nate Walck
2019-12-29 04:29:38 -08:00
committed by Kubernetes Prow Robot
parent 1ba9fb8468
commit ba2524fa89
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for the Interplanetary File System
name: ipfs
version: 0.4.0
version: 0.4.1
icon: https://raw.githubusercontent.com/ipfs/logo/master/raster-generated/ipfs-logo-128-ice-text.png
home: https://ipfs.io/
appVersion: v0.4.22
+12 -12
View File
@@ -27,21 +27,21 @@ spec:
# the persistent volume to be able to start.
fsGroup: 1000
runAsUser: 1000
livenessProbe:
httpGet:
path: /debug/metrics/prometheus
port: api
initialDelaySeconds: 15
periodSeconds: 3
readinessProbe:
httpGet:
path: /debug/metrics/prometheus
port: api
initialDelaySeconds: 15
periodSeconds: 3
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.image }}
livenessProbe:
httpGet:
path: /debug/metrics/prometheus
port: api
initialDelaySeconds: 15
periodSeconds: 3
readinessProbe:
httpGet:
path: /debug/metrics/prometheus
port: api
initialDelaySeconds: 15
periodSeconds: 3
ports:
{{- if .Values.swarm.enabled }}
- containerPort: 4001