Commit Graph

10808 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e73bc5613a Merge pull request #78715 from liggitt/cleanup-crd-proto
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 19:35:38 -07:00
Kubernetes Prow Robot
9a5b262532 Merge pull request #70384 from grayluck/hccheck-cleanup
Remove return value of mergeHealthChecks. Simplified HC equivalence check
2019-08-08 19:35:25 -07:00
knight42
f020c91598 feat(scale): add Patch method to ScaleInterface
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2019-08-09 09:59:49 +08:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
d0f060793c Merge pull request #80734 from eclipseo/fix_tls13
Use bigger keys for RSA-PSS, default for TLS 1.3 (Golang 1.13 requirement)
2019-08-08 16:11:52 -07:00
Han Kang
12a4ee235f expose ability to register native prometheus collectors 2019-08-08 13:39:29 -07:00
Kubernetes Prow Robot
f4e39afea0 Merge pull request #81152 from tedyu/const-pass-cmp
Constant time password comparison
2019-08-08 12:35:59 -07:00
Kubernetes Prow Robot
35cacd44e6 Merge pull request #81105 from liggitt/crd-validation-refactor
CRD validation refactor
2019-08-08 12:35:46 -07:00
Kubernetes Prow Robot
96dc74a437 Merge pull request #80074 from yue9944882/bugfix/publish-path-parameter
Fixes missing path parameter to CRD restful container
2019-08-08 10:03:45 -07:00
Josiah Bjorgaard
e861a8bf34 Changed comment on ScaledValue (#79738)
* Changed comment on ScaledValue and added additional test

* Added example to comment
2019-08-08 10:03:32 -07:00
Jordan Liggitt
0feb99f9bd Remove unnecessary serializer override for CRD status, test proto requests on CRD status 2019-08-08 12:49:08 -04:00
Kubernetes Prow Robot
3030a9d927 Merge pull request #81096 from roycaihw/update-vendor-json-iterator
Update github.com/json-iterator/go dependency to fix emtpy byte marshaling
2019-08-08 08:00:13 -07:00
Davanum Srinivas
f3061a9abc Adjust test case for a new command line parameter 2019-08-08 10:29:08 -04:00
Davanum Srinivas
9a2de95601 Update to latest klog 0.4.0
47ffc4e Add test case for detecting data race
959d342 Prevent data race in SetOutput* methods
34123a4 Test with golang 1.12.x
bf4884f Fix the log duplication issue for --log-file
dc5546c Backfill integration tests for selecting log destinations
baef93d fix broken links
07b218b Add go modules files
b33ae69 Add flag to include file's dir in logs
7c58910 correct documentation
a4033db Code Hygene - glog to klog
941d47b Revert "Fix the log duplication issue for --log-file."
314f6c4 Update godoc for the default value of logtostderr
7eb35e2 Fix the log duplication issue for --log-file.
2019-08-08 10:12:23 -04:00
yue9944882
18c27b77dc publish path parameter
refactor: make route param inserting less fragile
2019-08-08 18:57:18 +08:00
Kubernetes Prow Robot
ef8869466c Merge pull request #80978 from wojtek-t/selflink_deprecation
Deprecate SelfLink and introduce feature gate to disable its propagation
2019-08-08 03:47:20 -07:00
Ted Yu
3d2bc6f6ae Constant time password comparison 2019-08-07 22:07:57 -07:00
Mike Spreitzer
848301e11a Added info requested in review of #77636, and more
Added definition of "collection states" and noted that informer cache
queries are answered against these.

Also added an explicit note that the concept of object identity used
in the contract here does _not_ include ObjectMeta.UID.

Also updated the description of the notifications received by a
client, to account for the fact that a client can be added after the
informer starts running.

Added references to `MetaNamespaceKeyFunc` and
`SplitMetaNamespaceKey`.

Noted that a client must process each notification promptly and added
a referral to workqueue.

Made a couple other minor clarifications and corrections.
2019-08-07 21:19:26 -04:00
Jordan Liggitt
2741dd5e7f Refactor validation options 2019-08-07 20:52:32 -04:00
Jordan Liggitt
59079e554a Move CRD approval validation into validation package 2019-08-07 20:34:54 -04:00
Kubernetes Prow Robot
a83413d11a Merge pull request #81018 from AllenZMC/patch-1
fix wrong spells in create_namespace.go
2019-08-07 14:45:23 -07:00
Kubernetes Prow Robot
4c315aa8d9 Merge pull request #78543 from cheftako/kas-np3
Get network-proxy working with GCE.
2019-08-07 14:44:44 -07:00
Haowei Cai
6bed35ebd2 generated
running hack/update-vendor.sh
2019-08-07 12:53:51 -07:00
Haowei Cai
2332a808f2 update github.com/json-iterator/go to v1.1.7
using hack/pin-dependency.sh
2019-08-07 12:50:58 -07:00
Haowei Cai
318226f340 audit & admission: associate annotation with audit level 2019-08-07 10:53:14 -07:00
wojtekt
f0a8aecc46 autogenerated files 2019-08-07 16:50:27 +02:00
wojtekt
3bf4eb7072 Deprecate SelfLink + featuregate for setting it 2019-08-07 16:50:27 +02:00
wojtekt
399d09ce4a Fix GetReference function 2019-08-07 16:49:29 +02:00
Kubernetes Prow Robot
aa6a077cfd Merge pull request #80681 from ricky1993/customize_resource_name_and_namespace
add options for name and namespace of leaderelection object
2019-08-07 01:36:51 -07:00
Walter Fender
ebb65c5f4c Get network-proxy working with GCE.
Got the proxy-server coming up in the master.
Added certs and have it comiung up with those certs.
Added a daemonset to run the network-agent.
Adding support for agent running as a sameon set on every node.

Added quick hack to test that proxy server/agent were correctly
tunneling traffic to the kubelet.

Added more WIP for reading network proxy configuration.
Get flags set correctly and fix connection services.
Adding missing ApplyTo
Added ConnectivityService.
Fixed build directives. Added connectivity service configuration.
Fixed log levels.
Fixed minor issues for feature turned off.
Fixed boilerplate and format.
Moved log dialer initialization earlier as per Liggits suggestion.
Fixed a few minor issues in the configuration for GCE.
Fixed scheme allocation
Adding unit test.
Added test for direct connectivity service.

Switching to injecting the Lookup method rather than using a Singleton.
First round of mikedaneses feedback.
Fixed deployment to use yaml and other changes suggested by MikeDanese.

Switched network proxy server/agent which are kebab-case not camelCase.
Picked up DIAL_RSP fix.
Factored in deads2k feedback.
Feedback from mikedanese
Factored in second round of feedback from David.
Fix path in verify.
Factored in anfernee's feedback.
First part of lavalamps feedback.
Factored in more changes from lavalamp and mikedanese.

Renamed network-proxy to konnectivity-server and konnectivity-agent.
Fixed tolerations and config file checking.
Added missing strptr
Finished lavalamps requested rename.
Disambiguating konnectivity service by renaming it egress selector.

Switched feature flag to KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE
2019-08-06 23:09:49 -07:00
Kubernetes Prow Robot
a197cc6174 Merge pull request #78610 from jpbetz/admission-trace
Add trace to webhook invocations
2019-08-06 21:04:52 -07:00
t-qini
fcd0c6706f Support cross resource group load balancer. 2019-08-07 09:31:05 +08:00
Jordan Liggitt
0a37724819 generated 2019-08-06 20:54:06 -04:00
Jordan Liggitt
190c926d1f Limit v1 webhooks to None and NoneOnDryRun side effects classes 2019-08-06 20:54:06 -04:00
leigh capili
cc46849212 Implement CodecFactoryOptions allowing clients to opt-in to Pretty encoders and Strict Decoders (#76805)
* Implement CodecFactoryOptions allowing clients to opt-in to Pretty encoders and Strict Decoders

This patch introduces a new CodecFactory constructor that's capable of building different collections of Serializers.
Note that this diverges from the current design where an initialized CodecFactory is a kitchen sink holding many forms of useful Serilaizers in a non-customizeable way.

This approach is a suggested solution from this thread:
https://groups.google.com/d/msg/kubernetes-sig-api-machinery/R4Iiz3rOYd0/O6aX15_AAQAJ

A universal, defaulting, strict decoder is needed for Component Config efforts.
Future work aims to make strict behavior the default -- right now it's not implemented in a way that is performant enough for the apiserver.

This patch adds a deprecation notice for `NewCodecFactory()`.
For now, uses of this public constructor remain unchanged, and the tests are still exercising it.
It's been modified, however, to simply wrap the `WithOptions` version.

* Extend NewCodecFactory() signature with options mutators

When no mutators are passed, the legacy behavior is implemented.
This allows code to continue using NewCodecFactory() without modifications.

This also reverts the deprecation notice from the previous commit.

* Make Pretty always default and remove public WithOptions constructor

* Reduce []serializerType{} patch

* Test Strict CodecFactory option when enabled/disabled

* Fix CodecFactoryOptions nits
2019-08-06 14:58:51 -07:00
AllenZMC
e9da014de9 fix typos in create_namespace.go 2019-08-06 20:45:12 +08:00
Kubernetes Prow Robot
b1ffa38136 Merge pull request #80356 from liangxia/fix-example-url
Fix example urls
2019-08-05 23:43:54 -07:00
Joe Betz
237b16d9d9 Upgrade to latest k8s.io/utils 2019-08-05 12:18:57 -07:00
Joe Betz
46a04d50af Replace string concatination with trace fields 2019-08-05 12:18:57 -07:00
Joe Betz
31799ebe88 Add trace to webhook invocations 2019-08-05 12:18:53 -07:00
Kubernetes Prow Robot
4824f823ad Merge pull request #80919 from smarterclayton/disable_compression
Disable gzip compression in core control plane components
2019-08-05 09:09:49 -07:00
liangxia
6d431fa05b Fix example urls 2019-08-05 11:45:52 +08:00
Kubernetes Prow Robot
c4d00b1c5f Merge pull request #80893 from nikhita/kubectl-redundant-rules
publishing: remove redundant rules for kubectl
2019-08-04 18:13:48 -07:00
draveness
f18f86ad9a feat: remove deprecated include uninitialized flag 2019-08-04 22:39:52 +08:00
Kubernetes Prow Robot
0ea8dd516d Merge pull request #80932 from BenTheElder/fix-generated
update generated files
2019-08-03 01:28:10 -07:00
Kubernetes Prow Robot
d9a411df6b Merge pull request #80660 from prameshj/ilb-err
Handle NotImplemented error in service_controller.
2019-08-02 22:39:51 -07:00
chenyixiang
41a435a812 migrate scheduler options to resourceName & resourceNamespace
Change-Id: I743eda488320c97c123b49018d7efcc57525b152
2019-08-03 11:42:47 +08:00
Kubernetes Prow Robot
d0b2ff0876 Merge pull request #80884 from liggitt/admission-v1-docs
Fix admissionreview doc typos
2019-08-02 20:28:31 -07:00
Benjamin Elder
140f2d2af7 update generated files 2019-08-02 16:30:10 -07:00
Kubernetes Prow Robot
5de3cdb1d5 Merge pull request #80920 from seans3/unexport-kubectl-profiling
Unexport kubectl cmd profiling functions
2019-08-02 15:47:52 -07:00