From de9218ad8a0db9ef12d1696f1227f59371b1c90b Mon Sep 17 00:00:00 2001 From: ajanikow <12255597+ajanikow@users.noreply.github.com> Date: Fri, 10 Sep 2021 08:03:20 +0000 Subject: [PATCH] [Bugfix] Fix ArangoSync Liveness Probe --- CHANGELOG.md | 1 + pkg/deployment/resources/pod_creator_probes.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b958aff9..6bfd144b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) - Update UBI Image to 8.4 +- Fix ArangoSync Liveness Prove ## [1.2.2](https://github.com/arangodb/kube-arangodb/tree/1.2.2) (2021-09-09) - Update 'github.com/arangodb/arangosync-client' dependency to v0.7.0 diff --git a/pkg/deployment/resources/pod_creator_probes.go b/pkg/deployment/resources/pod_creator_probes.go index cff2cc02b..b87d7044f 100644 --- a/pkg/deployment/resources/pod_creator_probes.go +++ b/pkg/deployment/resources/pod_creator_probes.go @@ -375,7 +375,7 @@ func (r *Resources) probeBuilderLivenessSync(spec api.DeploymentSpec, group api. } return &probes.HTTPProbeConfig{ LocalPath: "/_api/version", - Secure: spec.IsSecure(), + Secure: spec.Sync.TLS.IsSecure(), Authorization: authorization, Port: port, }, nil