Bump k8s api to v0.23.5 for operator v1.9.0 (#1854)

* Bump k8s api to v0.23.5 for operator v1.8.0
* Update k8s version in Makefile
This commit is contained in:
Dmitry Volodin
2023-01-02 16:00:17 +01:00
committed by GitHub
parent 024aab1f13
commit 93a253bde1
11 changed files with 240 additions and 77 deletions
+1 -1
View File
@@ -325,7 +325,7 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
},
Env: envVars,
ReadinessProbe: &v1.Probe{
Handler: v1.Handler{
ProbeHandler: v1.ProbeHandler{
TCPSocket: &v1.TCPSocketAction{
Port: intstr.IntOrString{IntVal: pgPort},
},
+1 -1
View File
@@ -1129,7 +1129,7 @@ func extractPgVersionFromBinPath(binPath string, template string) (string, error
func generateSpiloReadinessProbe() *v1.Probe {
return &v1.Probe{
FailureThreshold: 3,
Handler: v1.Handler{
ProbeHandler: v1.ProbeHandler{
HTTPGet: &v1.HTTPGetAction{
Path: "/readiness",
Port: intstr.IntOrString{IntVal: patroni.ApiPort},