Skip to content

Commit

Permalink
[incubator/vault] Use httpGet instead of TCP Socket for liveness check (
Browse files Browse the repository at this point in the history
helm#9462)

* use httpGet instead of TCP socket

Signed-off-by: Janusz Bialy <janusz.bialy@qlik.com>

* bump chart version

Signed-off-by: Janusz Bialy <jbialy@gmail.com>
  • Loading branch information
jbialy authored and k8s-ci-robot committed Mar 7, 2019
1 parent 5cf6c3a commit 0ecd993
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion incubator/vault/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Vault, a tool for managing secrets
name: vault
version: 0.14.11
version: 0.15.0
appVersion: 1.0.1
home: https://www.vaultproject.io/
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
Expand Down
6 changes: 4 additions & 2 deletions incubator/vault/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ spec:
- containerPort: {{ .Values.service.clusterPort }}
name: cluster-address
livenessProbe:
# Alive if it is listening for clustering traffic
tcpSocket:
# Alive if in standby or active mode
httpGet:
path: /v1/sys/health?standbyok=true
port: {{ .Values.service.port }}
scheme: {{ if .Values.vault.config.listener.tcp.tls_disable -}}HTTP{{- else -}}HTTPS{{- end }}
readinessProbe:
# Ready depends on preference
httpGet:
Expand Down

0 comments on commit 0ecd993

Please sign in to comment.