Skip to content

Commit fcd8756

Browse files
committed
Update comment describing Kubernetes bug versions
Kubernetes and Patroni both merged fixes for this particular bug recently.
1 parent e10fff1 commit fcd8756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/operator/pgbackrest.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ func AddBackRestConfigVolumeAndMounts(podSpec *v1.PodSpec, clusterName string, p
8282
combined = append(combined, v1.VolumeProjection{Secret: &secret})
8383

8484
// The built-in configurations above also happen to bypass a bug in Kubernetes.
85-
// Kubernetes 1.15 through 1.18 store an empty list of sources as `null` which
86-
// breaks some clients, notably the Python client used by Patroni.
85+
// Kubernetes 1.15 through 1.19 store an empty list of sources as `null` which
86+
// breaks some clients, notably the Python client used by Patroni 1.6.5.
8787
// - https://issue.k8s.io/93903
8888

8989
addBackRestConfigDirectoryVolumeAndMounts(podSpec, "pgbackrest-config", combined, "backrest", "database")

0 commit comments

Comments
 (0)