Commit Graph

10808 Commits

Author SHA1 Message Date
RainbowMango
6420a31b03 Add wrapper to metrics stability framework for prometheus buckets functionality 2019-09-11 23:09:05 +08:00
Shihang Zhang
cba43530d7 change envelope transformer to return status error for better monitoring
Change-Id: I8263c4673d5f57617acf315c7af6ebe5aacd9c7c
2019-09-10 16:57:19 -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
Antoine Pelisse
d30e597391 Regenerate specs 2019-09-10 14:26:14 -07:00
Antoine Pelisse
3ab51e03ce Remove alpha status from ManagedFields 2019-09-10 14:12:46 -07:00
caiweidong
9157df47e8 add apigroup to the data source when using kubectl describe pvc 2019-09-10 23:47:09 +08:00
Andrew Phillips
5a753a834f 'imagetag' -> 'image' in edit set command examples
'imagetag' is not/no longer supported as a command
2019-09-10 10:53:27 -04:00
Andy Bursavich
c9c7c5409a Fix typos in KeyUsage constant names 2019-09-09 18:39:56 -07:00
Jordan Liggitt
bbedc4f7ed Generated files 2019-09-09 08:55:04 -04:00
Jordan Liggitt
0e787a4b78 Export UserInfo conversion, use authnv1.UserInfo in audit 2019-09-09 08:54:54 -04:00
haoshuwei
aaed9daf9b fix some ineffassigns
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-09-09 18:52:17 +08:00
Dr. Stefan Schimanski
420f010f87 endpoints: fix admission test types 2019-09-09 08:36:52 +02:00
haoshuwei
c4fe8f11b2 fix some missing errors return statements
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-09-09 13:54:14 +08:00
draveness
14dc59ee54 feat: remove EnableAggregatedDiscoveryTimeout feature gate 2019-09-09 09:55:54 +08:00
Ted Yu
e4d880bd62 Return proper Kind in error for Cacher 2019-09-07 19:42:56 -07:00
AdheipSingh
db303bc2af Update comment for syncHandler
```
// If the Deployment is not controlled by this Foo resource, we should log
// a warning to the event recorder and return error msg
```
For a clearer understanding of the comment.
2019-09-07 19:09:56 +05:30
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
David Eads
0355f4482b add conditions for remaining object totals during ns termination 2019-09-06 09:50:41 -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
RainbowMango
19e5c8565d Cleanup staticcheck from staging/src/k8s.io/client-go/tools/cache. 2019-09-04 18:35:24 +08: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
mengyang02
0205215425 replace time.Now().Sub with time.Since 2019-09-03 20:43:32 +08:00
Olaf Klischat
7a3f15aefe openstack: do not delete LB in case of security group reconciliation errors 2019-09-03 14:15:50 +02:00
Maciej Szulik
d78b1a2227 Update security contacts for kubectl 2019-09-03 10:15:43 +02:00
David Symonds
0af2dedd96 Fix description of diff flags.
Running `diff -u` produces a unified diff. It isn't related to Unicode.
Also, `diff -N` treats _absent_ files as empty, not new files.
2019-09-02 12:56:15 +10: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