Skip to content

Commit

Permalink
Merge pull request #678 from roee-hersh/patch-1
Browse files Browse the repository at this point in the history
fix: update vault liveness probe to /sys/health for improved reliability
  • Loading branch information
csatib02 authored Jan 5, 2025
2 parents ef6a9e2 + effe0f7 commit 4511075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/vault/vault_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1214,13 +1214,13 @@ func statefulSetForVault(v *vaultv1alpha1.Vault, externalSecretsToWatchItems []c
FailureThreshold: 18,
},
// This probe makes sure Vault is responsive in a HTTPS manner
// See: https://www.vaultproject.io/api/system/init.html
// See: https://www.vaultproject.io/api/system/health.html
LivenessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Scheme: getVaultURIScheme(v),
Port: intstr.FromString(v.Spec.GetAPIPortName()),
Path: "/v1/sys/init",
Path: "/v1/sys/health?standbyok=true",
},
},
},
Expand Down

0 comments on commit 4511075

Please # to comment.