Commit Graph

8 Commits

Author SHA1 Message Date
Justin SB 75fd939a62
kube-apiserver: healthcheck via sidecar container
kube-apiserver doesn't expose the healthcheck via a dedicated
endpoint, instead relying on anonyomous-access being enabled.  That
has previously forced us to enable the unauthenticated endpoint on
127.0.0.1:8080.

Instead we now run a small sidecar container, which
proxies /healthz and /readyz requests (only) adding appropriate
authentication using a client certificate.

This will also enable better load balancer checks in future, as these
have previously been hampered by the custom CA certificate.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-07 08:06:52 -04:00
Peter Rifel 49d31b8366 Import common.sh and use KOPS_ROOT when applicable 2020-02-15 20:04:12 -06:00
tanjunchen cc0f7022f0 /hack: improve shell script in hack 2019-12-25 17:16:31 +08:00
Justin Santa Barbara e479ecf682 dev: ignore kops-controller in hack/update-expected.sh
hack/update-expected.sh should ignore KOPSCONTROLLER_IMAGE when
regenerating the golden test outputs, just as it ignores the local
DNSCONTROLLER_IMAGE override.
2019-12-14 10:53:25 -05:00
Justin SB 39d642ee97
hack/update-expected.sh: mask development env vars
There are a few env vars which are frequently set in development, but
should not be reflected in the tests.  Clear them before generated the
expected output.
2019-09-14 11:45:27 -04:00
Justin SB 5d7d7aa647
hack/update-expected: regenerate gobindata
Otherwise we don't always pick up the latest changes to manifests.
2019-07-23 07:49:46 -07:00
Justin SB 512378b335
Rationalize golden-output comparison
Create a single helper function: AssertMatchesFile

Also a few output files that weren't consistent.
2019-07-21 23:08:48 -04:00
Justin SB 30d8dd8692
Create hack/update-expected.sh to update test output
This should streamline things a little!
2019-07-19 10:48:37 -04:00