Jordan Liggitt
34ac165a44
Move conditional validation for SCTPSupport to validation functions with knowledge of old objects
2019-02-05 23:09:31 -05:00
Jingyi Hu
61117761cd
*: Remove comment tags in GoDoc
...
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.
2018-09-13 20:27:32 -07:00
Laszlo Janosi
ebc16c31af
bazel definition updated for pkg/apis/networking/validation/
2018-08-27 05:59:50 +00:00
Laszlo Janosi
cbe94df8c6
gofmt update
2018-08-27 05:59:50 +00:00
Laszlo Janosi
e466bdc67e
Changes according to the approved KEP. SCTP is supported for HostPort and LoadBalancer. Alpha feature flag SCTPSupport controls the support of SCTP. Kube-proxy config parameter is removed.
2018-08-27 05:58:36 +00:00
Laszlo Janosi
a6da2b1472
K8s SCTP support implementation for the first pull request
...
The requested Service Protocol is checked against the supported protocols of GCE Internal LB. The supported protocols are TCP and UDP.
SCTP is not supported by OpenStack LBaaS. If SCTP is requested in a Service with type=LoadBalancer, the request is rejected. Comment style is also corrected.
SCTP is not allowed for LoadBalancer Service and for HostPort. Kube-proxy can be configured not to start listening on the host port for SCTP: see the new SCTPUserSpaceNode parameter
changed the vendor github.com/nokia/sctp to github.com/ishidawataru/sctp. I.e. from now on we use the upstream version.
netexec.go compilation fixed. Various test cases fixed
SCTP related conformance tests removed. Netexec's pod definition and Dockerfile are updated to expose the new SCTP port(8082)
SCTP related e2e test cases are removed as the e2e test systems do not support SCTP
sctp related firewall config is removed from cluster/gce/util.sh. Variable name sctp_addr is corrected to sctpAddr in pkg/proxy/ipvs/proxier.go
cluster/gce/util.sh is copied from master
2018-08-27 05:56:27 +00:00
Di Xu
3157ff0230
use NameIsDNSSubdomain validation from staging
2018-08-14 10:38:23 +08:00
Clayton Coleman
ef561ba8b5
generated: Avoid use of reflect.Call in conversion code paths
2018-07-17 23:02:16 -04:00
Dr. Stefan Schimanski
f8de7cea40
Update generated files
2018-06-29 20:36:17 +02:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640
Update to gazelle 0.12.0 and run hack/update-bazel.sh
2018-06-22 16:22:18 -07:00
Dr. Stefan Schimanski
1208437f84
Update generated files
2018-06-13 12:35:13 +02:00
David Eads
c5445d3c56
simplify api registration
2018-05-08 18:33:50 -04:00
David Eads
7b4f97aca3
generated
2018-05-08 18:32:44 -04:00
David Eads
e7fbbe0e3c
eliminate indirection from type registration
2018-04-25 09:02:31 -04:00
Kubernetes Submit Queue
0b062e1518
Merge pull request #60452 from danwinship/networkpolicy-pod-plus-ns
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Allow including both podSelector and namespaceSelector in a NetworkPolicyPeer
Updates NetworkPolicy API docs and validation to allow podSelector and namespaceSelector to be specified together in a NetworkPolicyPeer
Fixes #58637
**Release note**:
```release-note
NetworkPolicies can now target specific pods in other namespaces by including both a namespaceSelector and a podSelector in the same peer element.
```
2018-03-24 13:34:27 -07:00
fisherxu
b49ef6531c
regenerated all files and remove all YEAR fields
2018-03-08 17:52:48 +08:00
jennybuckley
c8dacd8e63
Run hack/update-all.sh
2018-02-26 17:16:14 -08:00
Dan Winship
329639e9f6
Allow including both podSelector and namespaceSelector in a NetworkPolicyPeer
2018-02-26 14:59:56 -05:00
Dan Winship
50b2b30526
Factor out duplicated NetworkPolicy validation code
2018-02-26 14:54:28 -05:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Allen Petersen
3d69cea1e5
Update generated files
2018-01-02 22:13:19 -08:00
Christoph Blecker
80e344644e
Regenerate all generated code
2018-01-02 00:21:07 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Maciej Szulik
f8ea46e8fe
Use full gopath for externalTypes
2017-11-26 00:12:32 +08:00
xiangpengzhao
f903b7a85c
Validate podCIDR of node spec.
2017-11-13 15:42:07 +08:00
Dr. Stefan Schimanski
1e79dfb959
Update generated code
2017-11-10 18:26:46 +01:00
Dr. Stefan Schimanski
72809a08b9
deepcopy: remove deepcopy register tags
2017-11-10 18:25:26 +01:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
xiangpengzhao
b0ebcaf8f0
Add unit test coverage for network policy validation.
2017-11-01 22:01:22 +08:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Kubernetes Submit Queue
7760d9e240
Merge pull request #51959 from cmluciano/cml/updatenpowners
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>..
Add cmluciano to NetworkPolicy reviewers
**Release note**:
```
NONE
```
2017-09-22 18:25:28 -07:00
Christopher M. Luciano
b94b8fb28a
Add cmluciano to NetworkPolicy reviewers
2017-09-05 14:14:27 -04:00
Christopher M. Luciano
84290ce35c
EgressRule generated code
2017-09-05 12:48:55 -04:00
Christopher M. Luciano
90b139897e
Add PolicyTypes to NetworkPolicy Spec
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-09-05 12:16:19 -04:00
Christopher M. Luciano
b03302f905
Add EgressRule to NetworkPolicy
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-09-05 12:01:07 -04:00
Jordan Liggitt
c7defb806f
Generated files
2017-08-25 15:01:08 -04:00
Christopher M. Luciano
02735c3fb2
IPBlock generated code
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-08-24 16:20:15 -04:00
Christopher M. Luciano
54a058f792
Add networking fuzzer
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-08-24 16:20:13 -04:00
Christopher M. Luciano
b75dc93dd4
Add IPBlock to NetworkPolicy
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-08-24 16:20:04 -04:00
Dr. Stefan Schimanski
6bc9f3fba6
Update generated files
2017-08-15 11:56:46 +02:00
Dr. Stefan Schimanski
b0b5de6eaf
Port internal extensions/Network* to networking.k8s.io API group
2017-08-15 11:56:46 +02:00
Kubernetes Submit Queue
9f902fef24
Merge pull request #50094 from sttts/sttts-no-importprefix
...
Automatic merge from submit-queue (batch tested with PRs 50094, 48966, 49478, 50593, 49140)
apimachinery: remove pre-apigroups import path logic
Replacing #50093 .
2017-08-14 12:14:55 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
zhouhaibing089
2e5dc7d727
add fuzzer dir for each apigroup
2017-08-11 15:12:57 +08:00
Dr. Stefan Schimanski
8728576236
apimachinery: remove pre-apigroups import prefix logic
2017-08-10 13:07:54 +02:00