Commit Graph

7734 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ae3b1099ee Merge pull request #82446 from ibuildthecloud/master
Check cache is synced first before sleeping
2019-09-11 18:28:59 -07:00
Kubernetes Prow Robot
3e2d83098e Merge pull request #82442 from sallyom/describe-node-indentation-fix
fix indentation with 'kubectl describe node'
2019-09-11 18:28:43 -07:00
Kubernetes Prow Robot
03286258d2 Merge pull request #82434 from enj/enj/i/enc_overlapping_prefix
Encryption config: correctly handle overlapping providers
2019-09-11 18:28:30 -07:00
Kubernetes Prow Robot
8d247629c3 Merge pull request #82284 from danwinship/retry-on-conflict-docs
Clarify retry.RetryOnConflict docs
2019-09-11 18:27:44 -07:00
Kubernetes Prow Robot
9648b475c6 Merge pull request #82095 from tedyu/avail-ctrol
Break out of the loop when active endpoint is found
2019-09-11 18:27:15 -07:00
Kubernetes Prow Robot
fbaf5d2adf Merge pull request #82261 from soltysh/kubecl_security
Update security contacts for kubectl
2019-09-11 15:24:47 -07:00
Kubernetes Prow Robot
88f3139b9a Merge pull request #82210 from yutedz/valid-key-k
Use Key() in Path composition
2019-09-11 10:40:48 -07:00
Kubernetes Prow Robot
f5ae0604ad Merge pull request #82175 from yutedz/fld-mgr-conflict
Move Update Apply conflict test to field manager test
2019-09-11 10:40:14 -07:00
Kubernetes Prow Robot
9c25981f35 Merge pull request #82161 from d-kuro/feature/fix-broken-link
Fix broken link.
2019-09-11 10:39:42 -07:00
Ted Yu
31581e7cb5 Break out of the loop when active endpoint is found 2019-09-11 09:01:10 -07:00
Kubernetes Prow Robot
4ce0a300d7 Merge pull request #81867 from ehashman/inflight-typo
Fix typo in "EnableInfightQuotaHandler" apiserver option
2019-09-10 16:20:45 -07:00
Kubernetes Prow Robot
64718f6786 Merge pull request #81453 from joshmsamuels/master
Apply will fail with managed fields + tests
2019-09-10 14:30:47 -07:00
Kubernetes Prow Robot
bd6f58cfcb Merge pull request #80337 from draveness/feature/remove-deprecated-include-uninitialized-flag
feat: remove deprecated include uninitialized flag
2019-09-10 14:29:15 -07:00
Darren Shepherd
8a58f332dd Check cache is synced first before sleeping
If a cache was already synced, cache.WaitForCacheSync would
always take 100ms to complete because the PollUntil method will
sleep first before checking the condition.  Switching to
PollImmediateUntil will ensure already synced caches will return
immediately.  For code that has, for example, 20 informers, the time
to check the cache was in sync would take at least 2 seconds, but with
this change it can be as fast as you can actually load the data.

Signed-off-by: Darren Shepherd <darren@rancher.com>
2019-09-06 16:34:03 -07:00
Sally O'Malley
4ce16254f7 fix indentation with 'kubectl describe node' 2019-09-06 16:57:42 -04:00
Jordan Liggitt
3904e14b40 Fallback to schemaless apply behavior for custom resources with unhandled schemas 2019-09-06 15:39:28 -04:00
Monis Khan
4dc16f29a7 Encryption config: correctly handle overlapping providers
This change updates NewPrefixTransformers to not short-circuit on
the first transformer that has a matching prefix.  If the same type
of encryption ProviderConfiguration is used more than once, they
will share the same prefix.  A failure in the first one should not
prevent a later match from being attempted.

Added TestCBCKeyRotationWithOverlappingProviders unit test to
prevent regressions.  Note that this test explicitly exercises this
flow using an EncryptionConfiguration object as the structure of the
resulting transformer is an important part of the check.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2019-09-06 15:12:28 -04:00
Kubernetes Prow Robot
38752f7f99 Merge pull request #82425 from liggitt/client-go-readme
Update dev setup and client-go install instructions
2019-09-06 09:46:57 -07:00
Jordan Liggitt
df3d143d15 Update client-go install instructions 2019-09-06 11:00:01 -04:00
Dan Winship
23b391e1dd Clarify retry.RetryOnConflict docs 2019-09-06 06:36:55 -04:00
Dan Winship
b098e01324 Restore retry.RetryOnConflict docs, fix up retry.OnError docs/naming 2019-09-06 06:35:52 -04:00
Kubernetes Prow Robot
61ecdba9ca Merge pull request #82289 from robscott/endpointslice-fixes
Fixing bugs related to Endpoint Slices
2019-09-05 09:03:10 -07:00
Kubernetes Prow Robot
c4c64673d7 Merge pull request #82199 from dims/update-to-etcd-3.3.15-0-image
Update default etcd server to 3.3.15 for kubernetes 1.16
2019-09-05 06:35:10 -07:00
Rob Scott
8f9483d827 Fixing bugs related to Endpoint Slices
This should fix a bug that could break masters when the EndpointSlice
feature gate was enabled. This was all tied to how the apiserver creates
and manages it's own services and endpoints (or in this case endpoint
slices). Consumers of endpoint slices also need to know about the
corresponding service. Previously we were trying to set an owner
reference here for this purpose, but that came with potential downsides
and increased complexity. This commit changes behavior of the apiserver
endpointslice integration to set the service name label instead of owner
references, and simplifies consumer logic to reference that (both are
set by the EndpointSlice controller).

Additionally, this should fix a bug with the EndpointSlice GenerateName
value that had previously been set with a "." as a suffix.
2019-09-04 09:09:32 -07:00
Kubernetes Prow Robot
7e906ae145 Merge pull request #82047 from roberthbailey/owners
Remove myself from reviewers across the repo
2019-09-04 04:35:00 -07:00
Kubernetes Prow Robot
26a381b8e1 Merge pull request #82303 from roycaihw/update-precondition-retry
In GuaranteedUpdate, retry on a precondition check failure if we are working with cached data
2019-09-03 20:20:59 -07:00
Haowei Cai
88f0be6e59 in GuaranteedUpdate, retry on precondition check failure if we are working with cached data 2019-09-03 17:26:39 -07:00
Haowei Cai
2670651a3c test 2019-09-03 17:24:42 -07:00
Jordan Liggitt
e734c70e03 Add integration test for webhook client auth 2019-09-03 13:58:54 -04:00
Jordan Liggitt
d127042cb8 Plumb service port, URL port to webhook client auth resolution 2019-09-03 13:58:54 -04:00
Jordan Liggitt
2f5dde7672 Search client auth with and without port 2019-09-03 13:52:35 -04:00
Maciej Szulik
d78b1a2227 Update security contacts for kubectl 2019-09-03 10:15:43 +02:00
Ted Yu
270ddcea23 Use Key() in Path composition 2019-08-31 15:20:25 -07:00
Kubernetes Prow Robot
3d17fd5c4f Merge pull request #81929 from egernst/kubectl-overhead
Kubectl: take pod overhead into account for node info
2019-08-31 07:01:47 -07:00
Kubernetes Prow Robot
443002fcb7 Merge pull request #81413 from Bisnode/OIDC-honour-nbf
bump github.com/coreos/go-oidc dep to pick up nbf enforcement
2019-08-31 04:37:46 -07:00
Kubernetes Prow Robot
ab162cd28c Merge pull request #77354 from jennybuckley/crd-apply
Use CRD validation field in server-side apply
2019-08-30 23:53:47 -07:00
Anders Eknert
5e6162c614 Honour "nbf" claim if present in ID token 2019-08-31 08:45:02 +02:00
Davanum Srinivas
8fbfdf8267 Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Kubernetes Prow Robot
c86da8e2c1 Merge pull request #82048 from cheftako/kas-np4
Add support for konnectivity service to the etcd3 client.
2019-08-30 16:15:28 -07:00
Kubernetes Prow Robot
0be2f49268 Merge pull request #81795 from robscott/endpointslice-kubectl
Adding Kubectl Support for Endpoint Slices
2019-08-30 16:15:00 -07:00
Ted Yu
9828f986af Move Update Apply conflict test to field manager test 2019-08-30 14:47:39 -07:00
Rob Scott
ab1943e00b Adding kubectl support for EndpointSlice 2019-08-30 11:42:57 -07:00
Kubernetes Prow Robot
a7ac8d4c0b Merge pull request #82146 from deads2k/agg-discovery-timeout-2
add a timeout for proxying discovery requests
2019-08-30 11:23:00 -07:00
Kubernetes Prow Robot
887edd2273 Merge pull request #82099 from lmdaly/single-numa-node-policy
Topology Manager Policy: single-numa-node
2019-08-30 11:21:26 -07:00
Kubernetes Prow Robot
8019ebf3df Merge pull request #82045 from apelisse/remove-crd-scale-bug
Disable tracking manged fields on scale sub-resource
2019-08-30 11:21:11 -07:00
Walter Fender
edbb0fa2fe Add support for konnectivity service to the etcd3 client.
If konnectivity service is enabled, the etcd client will now use it.
This did require moving a few methods to break circular dependencies.

Factored in feedback from lavalamp and wenjiaswe.
2019-08-30 10:31:53 -07:00
Kubernetes Prow Robot
4cc80bac91 Merge pull request #82120 from soltysh/bug1745532
FlattenListVisitor now continues traversal on errors and returns an aggregate error
2019-08-30 09:40:08 -07:00
Kubernetes Prow Robot
f442b6ef32 Merge pull request #82090 from liggitt/webhook-http2
Use http/1.1 for apiserver->webhook clients
2019-08-30 06:26:54 -07:00
Kubernetes Prow Robot
45522ebaca Merge pull request #82087 from soltysh/cp_back
Move kubectl cp back to k/k
2019-08-30 06:25:58 -07:00
Kubernetes Prow Robot
6dff9182d7 Merge pull request #82085 from apelisse/add-tombston-field
Tombstone the former Fields field by commenting the old entry
2019-08-30 06:25:43 -07:00