Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

[incubator/vault] Use httpGet instead of TCP Socket for liveness check #9462

Merged
merged 3 commits into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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