This update moves to ubuntu jammy. The name moves off of debian
version names because jammy is based on bookworm and azure cli
does not have debian package support with bookworm
This is an update to the previous update for this because the
CircleCI environment is ubuntu 20.04 but the container this is
running is has 22.04 as the ubuntu version. Updating the in
container to 22.04 (jammy).
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 70a3df49d7)
CircleCI is now using Ubuntu 20.04 for the Go 1.18 image. The
azure CLI is expecting a version older than that. This change
updates.
Note, we have been using the debian name for the repo rather than
the ubuntu name. bullseye maps to Ubuntu 20.04 through 21.10.
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 9fbf1b34d5)
On Mac OS they have some custom dns c library that uses some
configuration files other than resolv.conf to configure dns lookups. The
standard go library does not handle these custom configuration files
which causes dns lookups to fail for some mac users.
This allows the downstream pacakgers to override CGO_ENABLED to build
binaries that use the custom dns library.
Signed-off-by: Joe Julian <me@joejulian.name>
(cherry picked from commit 6f6c0d831d)
There are cases when the etcdserver is temporarily unavailable and the
errors that we get back from kube-apiserver reflect that error. It looks
like we bail out immediately when these errors happen currently. We
should retry until timeout is reached when this sort of errors happen.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
(cherry picked from commit ebc79fa807)
Go passes x509 verification off to the platform and different
platforms provide different responses. The Go tests for x509
even have different test files for different platform providers
that check for different messages.
This update haldes darwins difference for x509 authority handling
Closes#11159
Signed-off-by: Matt Farina <matt@mattfarina.com>
Confirm that the current and updated revision numbers also match as part
of the readiness check. Add coverage for readiness scenarios where
StatefulSet status does not reflect the most recent generation of the
StatefulSet yet.
Also add additional logging around the sts transitions from non-ready to
ready.
Fixes: #10163
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>