Christopher M. Luciano
e931e30647
ingress: allow wildcard hosts in IngressRule
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-05 13:44:48 -05:00
Hemant Kumar
053baaf143
Update generated files
...
update generated code
2020-03-04 21:23:31 -05:00
Hemant Kumar
f7509d277e
Define new type for storing volume fsgroupchangepolicy
...
Address review comments for api change
2020-03-04 21:23:27 -05:00
Ben Swartzlander
e8b09d3644
Add AnyVolumeDataSource feature gate
...
Allow any custom resource to be the data source of a PVC, if the
AnyVolumeDataSource feature gate is enabled. This is an alpha feature.
2020-03-04 18:55:50 -05:00
Kubernetes Prow Robot
e865c0b219
Merge pull request #88686 from j-griffith/upgrade_cloning_to_ga
...
Mark PVCDataSource featuregate as GA
2020-03-04 13:19:06 -08:00
j-griffith
9044fbfc5d
Update VolumePVCDatasource to GA for 1.18
...
Updates the VolumePVCDataSource featuregate (cloning) to GA for the 1.18 k8s
release.
2020-03-04 10:48:30 -07:00
Kubernetes Prow Robot
497a998ba6
Merge pull request #88654 from ddebroy/gmsa-disable1
...
Promote GMSA support for Windows to GA
2020-03-04 02:32:01 -08:00
Deep Debroy
16d221e407
Promote GMSA to GA
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2020-03-04 02:56:21 +00:00
Kubernetes Prow Robot
aeb88b6ecd
Merge pull request #88587 from cmluciano/cml/v1beta1paths
...
Adding PathType to Ingress
2020-03-03 18:13:47 -08:00
Kubernetes Prow Robot
9d0cbb7503
Merge pull request #88673 from jsafrane/block-feature-ga
...
Promote block volumes to GA
2020-03-03 12:17:12 -08:00
Rob Scott
f38904d6f4
Adding PathType to Ingress
...
Co-authored-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-03 11:11:16 -08:00
James Munnelly
4144a2a1cf
Add unit tests for IsKubeletClientCSR and IsKubeletServingCSR
2020-03-03 13:14:32 +00:00
Kubernetes Prow Robot
f221dbb91b
Merge pull request #88505 from liggitt/pod-ip-patch
...
Honor status.podIP over status.podIPs and node.spec.podCIDR over node.spec.PodCIDRs when mismatched
2020-03-02 16:16:36 -08:00
Jordan Liggitt
60da52a24a
Honor status.podIP over status.podIPs, node.spec.podCIDR over node.spec.podCIDRs
2020-03-02 14:21:22 -05:00
Rob Scott
132d2afca0
Adding IngressClass to networking/v1beta1
...
Co-authored-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-01 18:17:09 -08:00
Kubernetes Prow Robot
03b7f272c8
Merge pull request #88246 from munnerz/csr-signername-controllers
...
Update CSR controllers & kubelet to respect signerName field
2020-02-28 23:38:39 -08:00
Kubernetes Prow Robot
901a884c71
Merge pull request #88338 from egernst/PodOverhead-beta
...
Upgrade PodOverhead to beta
2020-02-28 15:12:40 -08:00
Jan Safranek
2c1b743766
Promote block volume features to GA
2020-02-28 20:48:38 +01:00
Eric Ernst
991909fdfb
PodOverhead: remove feature gate override in tests
...
PodOverhead is now a beta feature and set to true by default. No need to
override to true during testing.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-27 17:27:06 +00:00
James Munnelly
a983356caa
Add signerName field to CSR resource spec
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2020-02-27 10:17:55 +00:00
Kubernetes Prow Robot
86141c0cce
Merge pull request #88503 from robscott/app-protocol
...
Adding AppProtocol to Service and Endpoints Ports
2020-02-26 00:20:40 -08:00
Rob Scott
6a33727632
Adding AppProtocol to Service and Endpoints Ports
2020-02-25 17:42:34 -08:00
Kubernetes Prow Robot
851efa8a34
Merge pull request #84051 from bart0sh/PR0079-multiple-sizes-hugepages
...
Implement support for multiple sizes huge pages
2020-02-25 14:40:27 -08:00
Kubernetes Prow Robot
390a54f737
Merge pull request #88484 from steveazz/steveazz/68026-validaton
...
Fix golint issues for `core/v1/validation`
2020-02-24 19:07:25 -08:00
Kubernetes Prow Robot
71b7b5175a
Merge pull request #87790 from marosset/windows-run-as-username-stable
...
Moving Windows RunAsUserName feature to GA
2020-02-24 17:46:21 -08:00
Steve Azzopardi
4eb06577dc
Fix golint issues for core/v1/validation
...
reference https://github.com/kubernetes/kubernetes/issues/68026
2020-02-24 20:50:39 +01:00
Kubernetes Prow Robot
4624f7a422
Merge pull request #88438 from taesunny/pkg/apis
...
Fix: pkg/apis Typos in comments, function name, error message
2020-02-24 08:36:48 -08:00
Taesun Lee
b873cbbed5
Fix: pkg/apis Typos in comments, function name, error message
...
poicy -> policy
varialbes -> variables
exeuction -> execution
Resaurces -> Resources
TestSetDefaulEndpointsProtocol -> TestSetDefaultEndpointsProtocol
TestSetDefaulServiceTargetPort -> TestSetDefaultServiceTargetPort
TestSetDefaulServiceExternalTraffic -> TestSetDefaultServiceExternalTraffic
2020-02-24 00:11:00 +09:00
Wei Huang
54be6ca679
Update API doc for feature PodTopologySpread (a.k.a EvenPodsSpread)
2020-02-20 15:57:56 -08:00
marosset
d44a30f0ed
Moving Windows RunAsUserName feature to GA
2020-02-20 22:08:18 +00:00
Ed Bartosh
882d6e93af
Implement tests for multiple sizes huge pages
...
Co-Authored-By: Odin Ugedal <odin@ugedal.com>
2020-02-19 18:15:40 +02:00
Ed Bartosh
0eb65bd7da
Implement support for multiple sizes huge pages
...
This implementation allows Pod to request multiple hugepage resources
of different size and mount hugepage volumes using storage medium
HugePage-<size>, e.g.
spec:
containers:
resources:
requests:
hugepages-2Mi: 2Mi
hugepages-1Gi: 2Gi
volumeMounts:
- mountPath: /hugepages-2Mi
name: hugepage-2mi
- mountPath: /hugepages-1Gi
name: hugepage-1gi
...
volumes:
- name: hugepage-2mi
emptyDir:
medium: HugePages-2Mi
- name: hugepage-1gi
emptyDir:
medium: HugePages-1Gi
NOTE: This is an alpha feature.
Feature gate HugePageStorageMediumSize must be enabled for it to work.
2020-02-19 18:15:40 +02:00
gkarthiks
8853a985fd
fix: golint failures
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2020-02-16 15:09:45 -08:00
Kubernetes Prow Robot
0c6470115e
Merge pull request #86578 from tnqn/except-validation
...
Validate Except of IPBlock for NetworkPolicy spec
2020-02-08 14:45:53 -08:00
Quan Tian
ea693833c8
Validate Except of IPBlock for NetworkPolicy spec
...
This patch enhances the validation of Except field that the values will
be rejected if they are not strictly within the CIDR range.
2020-02-05 01:35:44 +08:00
wojtekt
1fc80c57ee
Autogenerated
2020-02-04 16:06:36 +01:00
wojtekt
881dde8bee
Remove unnecessary manual conversions
2020-02-04 16:05:25 +01:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
...
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Jordan Liggitt
82107ff8ab
Restore statefulset conversion that populates apiVersion/kind in volume templates
2020-01-31 07:47:35 -05:00
Kubernetes Prow Robot
95a1d5e699
Merge pull request #82820 from odinuge/hugetlb-node-multiple-size
...
Add support for pre-allocated hugepages with 2+ sizes
2020-01-30 21:20:18 -08:00
Kubernetes Prow Robot
ff536eec2e
Merge pull request #87602 from wojtek-t/cleanup_immutable_validation
...
Cleanup validation for immutable secrets/configmaps
2020-01-30 16:59:23 -08:00
wojtekt
39f6c784b7
Cleanup validation for immutable secrets/configmaps
2020-01-28 09:40:12 +01:00
sewon.oh
463442aa29
Update container hugepage limit when creating the container
...
Unit test for updating container hugepage limit
Add warning message about ignoring case.
Update error handling about hugepage size requirements
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2020-01-28 09:35:02 +09:00
Kubernetes Prow Robot
51bb3238f2
Merge pull request #87528 from MikeSpreitzer/refactor/catch-all
...
Make API Priority and Fairness suggested config avoid the mandatory catch-all
2020-01-26 18:35:02 -08:00
Kubernetes Prow Robot
2cd685a020
Merge pull request #87250 from starizard/adding-taint-toleration-error-reasons
...
Adding taint toleration error reasons
2020-01-25 01:23:01 -08:00
Mike Spreitzer
a8e0747043
Updated API Priority and Fairness validation to track change in catch-all priority level
2020-01-24 14:05:43 -05:00
Shawn Rebello
22bd26fefb
Adding taint toleration error reasons
2020-01-24 02:50:55 +05:30
Odin Ugedal
6e411b6c0a
Add support for pre-allocated hugepages with 2 sizes
...
Remove the validation for pre-allocated hugepages on node level.
Validation is currently the only thing making it impossible to use
pre-allocated huge pages in more than one size.
We have now quite a few reports from real users that this feature is
welcome.
2020-01-23 17:38:22 +01:00
Philipp Stehle
ff69810f1a
Fix: UpdateStrategy.RollingUpdate.Partition is lost when UpdateStrategy.Type is not set
2020-01-23 17:35:40 +01:00
Kubernetes Prow Robot
37d9c22abe
Merge pull request #86377 from wojtek-t/immutable_secrets_api
...
API for immutable Secrets and ConfigMaps
2020-01-18 05:25:35 -08:00
Mike Spreitzer
47ad6db1dc
Fixup comments in internalbootstrap
2020-01-17 22:16:50 -05:00
Mike Spreitzer
4d88acee51
Made internalbootstrap gin up its own Scheme
...
doing our part to reduce usage of legacyscheme.Scheme
2020-01-17 16:47:40 -05:00
Mike Spreitzer
5330bd7440
dogged insistence on full verbosity
2020-01-17 15:46:36 -05:00
Mike Spreitzer
ec5321c6a9
Update validation for API Priority and Fairness
...
This PR fixes oversights and adds validation that rejects writes
of wrong Spec values for the four mandatory objects.
2020-01-17 02:43:52 -05:00
wojtekt
9174905ae7
Autogenerated
2020-01-12 21:09:05 +01:00
wojtekt
e612ebfdff
Immutable field and validation
2020-01-12 20:51:31 +01:00
Kubernetes Prow Robot
c0e245fa0e
Merge pull request #85268 from yue9944882/feat/flow-control-defaulting
...
Bootstrap flow-control objects
2020-01-11 12:27:37 -08:00
yue9944882
70dea6e4a8
review: several fixes and addressing comments
2020-01-11 01:46:31 +08:00
Kobayashi Daisuke
fee0d43d23
fix golint error in pkg/apis/rbac
2020-01-10 11:22:05 +09:00
Christopher M. Luciano
bff24f41bf
core: fix dead links in core api comments
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-01-07 16:32:05 -05:00
Kubernetes Prow Robot
6d53021196
Merge pull request #86511 from aojea/v6example
...
Add ipv6 examples for network policy API
2019-12-29 19:39:39 -08:00
Antonio Ojea
31e59fd5e3
Add ipv6 examples for network policy API
...
Add IPv6 examples to the network policy API
2019-12-27 22:47:20 +01:00
RainbowMango
eea91c018b
Cleanup testapi after it has been removed
2019-12-27 14:11:15 +08:00
yue9944882
141909fa2e
tighten ceiling for matching-precedence to 10000
2019-12-25 15:47:11 +08:00
Kubernetes Prow Robot
5cb1ec5fea
Merge pull request #86298 from aojea/netpolicyv6
...
networkPolicy ipv6 unit tests validation
2019-12-18 10:37:57 -08:00
Kubernetes Prow Robot
0ab1583240
Merge pull request #85747 from tnqn/networkpolicy-validation
...
Fix NetworkPolicy PolicyTypes validation
2019-12-16 21:38:04 -08:00
Antonio Ojea
f401d711aa
networkPolicy validation ipv6 unit tests
...
Add ipv6 cases to the validation unit tests.
2019-12-16 08:46:53 +01:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
...
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
...
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Jordan Liggitt
0387cc7cb3
Update generated files
2019-12-13 12:23:39 -05:00
Jordan Liggitt
f2f22b84cd
Delete ReplicationControllerDummy
2019-12-13 12:21:33 -05:00
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
Kubernetes Prow Robot
873356c0cc
Merge pull request #83302 from yuyulei/storage-quantity
...
add getting Storage Quantity to ResourceList
2019-12-13 07:56:55 -08:00
yaqi
d146e1941d
Add getting Storage Quantity to ResourceList
2019-12-13 10:54:31 +08:00
Arjun Naik
8ab226263a
Adds tests
...
Signed-off-by: Arjun Naik <arjun@arjunnaik.in>
2019-12-10 18:09:20 +01:00
Ivan Glushkov
ac23d55d90
Generates boilerplate code
2019-12-10 20:38:09 +04:00
Ivan Glushkov
27ffe439b6
Adds the algorithm implementation for the Configurable HPA
2019-12-10 20:37:33 +04:00
Ivan Glushkov
5c70cda6e5
Adds validation rules and proper defaults
2019-12-10 20:37:19 +04:00
Ivan Glushkov
141eaf79ee
Introduces all API changes needed for Configurable HPA PR
2019-12-10 20:37:03 +04:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
...
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Kubernetes Prow Robot
fe97fbb2e6
Merge pull request #85071 from hvaara/fix-golint-pkg-apis-batch-validation
...
Fix golint issues in pkg/apis/batch/validation
2019-12-03 17:00:57 -08:00
Nan Yu
1fb0dd4ec5
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-03 14:26:35 -08:00
Quan Tian
d07dd4bbed
Fix NetworkPolicy PolicyTypes validation
...
The validation had an excess nested loop and also caused wrong
error feedback that all policyTypes input will be reported as
unsupported if any of them is wrong.
2019-11-29 16:02:38 +08:00
Andrew Sy Kim
aaa91ef412
service topology: remove redundant API validation for local external traffic policy
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-15 08:57:17 -05:00
Kubernetes Prow Robot
d9be37e926
Merge pull request #72046 from m1093782566/service-topology-api
...
Service Topology implementation
2019-11-15 02:57:42 -08:00
Roc Chan
31d623b4d7
Autogenerated files
2019-11-15 14:37:44 +08:00
Kubernetes Prow Robot
4e45328e65
Merge pull request #83123 from aramase/dualstack-downward-api
...
Dualstack downward api
2019-11-14 22:13:42 -08:00
Roc Chan
c9cf3f5b72
Service Topology implementation
...
* Implement Service Topology for ipvs and iptables proxier
* Add test files
* API validation
2019-11-15 13:36:43 +08:00
m1093782566
cdaeabfb46
Add API for feature gate ServiceTopology
2019-11-15 13:36:43 +08:00
MikeSpreitzer
1c60949dfd
updated generated files
2019-11-14 00:53:02 -05:00
Mike Spreitzer
bb69b93b20
applied gofmt
2019-11-14 00:53:02 -05:00
Mike Spreitzer
a912bd8488
Identify cluster scope by a boolean field rather than a special namespace
2019-11-14 00:53:02 -05:00
Mike Spreitzer
3b77bc8054
Enabled discrimination on target namespace
...
Generalized ResourcePolicyRule in API Priority and Fairness to be able
to discriminate on the target namespace (if any) specified in the
request.
2019-11-14 00:53:02 -05:00
Kubernetes Prow Robot
71d563b831
Merge pull request #84771 from MikeSpreitzer/refactor-priority-config
...
Refactored PriorityLevelConfiguration
2019-11-13 17:28:06 -08:00
Kubernetes Prow Robot
64f4be5b32
Merge pull request #84390 from robscott/endpointslice-beta
...
Promoting EndpointSlices to beta
2019-11-13 17:27:50 -08:00
Kubernetes Prow Robot
d85103b185
Merge pull request #85217 from kaoskater08/kaoskater08/fix-golint-pkg-apis-extensions
...
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 14:51:46 -08:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta
2019-11-13 14:20:19 -08:00
Kubernetes Prow Robot
c5609071d8
Merge pull request #84971 from robscott/endpointslice-iptypes
...
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-13 09:26:36 -08:00
Kubernetes Prow Robot
c10d29ba88
Merge pull request #84356 from verb/pid-ga
...
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
Mike Spreitzer
f9bc2bcf62
Refactored PriorityLevelConfiguration
...
.. so that concurrency limitation can be done without queuing
(like the existing max-in-flight filter does).
2019-11-13 16:05:52 +00:00
Eddie Hale
566484366e
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 08:48:42 -06:00
Kubernetes Prow Robot
3eff237357
Merge pull request #84882 from marosset/run-as-username-beta
...
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00
Kubernetes Prow Robot
402e551ca2
Merge pull request #85135 from wojtek-t/delete_unnecessary_conversions_1
...
Eliminate couple unnecessary conversions
2019-11-12 09:07:01 -08:00
Rob Scott
0fa9981e01
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-12 09:03:53 -08:00
wojtekt
067d173266
Eliminate couple unnecessary conversions
2019-11-12 15:00:09 +01:00
Kubernetes Prow Robot
7d1f9b440e
Merge pull request #83815 from howardjohn/appprotocol
...
Add appProtocol to EndpointSlice.Port
2019-11-11 17:48:06 -08:00
marosset
6d4aea60cd
Moving WindowsRunAsUserName to beta
2019-11-11 19:27:19 +00:00
Roy Hvaara
896f84b652
Fix golint issues in pkg/apis/batch/validation
2019-11-11 04:03:34 +01:00
Kubernetes Prow Robot
35cfd327c8
Merge pull request #84243 from Dingshujie/fix-golint
...
Fix golint errors in pkg/apis/apps
2019-11-10 16:29:54 -08:00
Kubernetes Prow Robot
a18303dfa4
Merge pull request #85042 from hvaara/fix-golint-pkg-apis-policy
...
Fix golint issues in pkg/apis/policy
2019-11-09 15:29:58 -08:00
Kubernetes Prow Robot
80b25a766a
Merge pull request #85037 from hvaara/fix-golint-pkg-apis-authorization
...
Fix golint issues in pkg/apis/authorization
2019-11-09 15:29:48 -08:00
Roy Hvaara
cfc596b302
Fix golint issues in pkg/apis/autoscaling/validation ( #85041 )
...
* Fix golint issues in pkg/apis/autoscaling/validation
* Fix spelling issue in field of Error
2019-11-09 14:03:48 -08:00
Roy Hvaara
10c8508acd
Fix golint issues in pkg/apis/policy
2019-11-09 21:15:35 +01:00
Roy Hvaara
8d3c74aebc
Fix golint issues in pkg/apis/authorization
2019-11-09 17:45:37 +01:00
Kubernetes Prow Robot
36362cc149
Merge pull request #84673 from hwdef/fix-staticcheck3
...
pkg/apis: fix staticcheck warning
2019-11-09 01:29:40 -08:00
Kubernetes Prow Robot
b15dfd778a
Merge pull request #84708 from yue9944882/feat/flowcontrol-storage
...
Feature: Flowcontrol rest storage implementation
2019-11-08 18:44:09 -08:00
John Howard
d00794ca60
Add appProtocol to EndpointSlice.Port
2019-11-08 09:22:50 -08:00
wojtekt
90c9bad944
Autogenerated
2019-11-08 14:44:05 +01:00
wojtekt
8def73aac8
Correctly autogenerate conversions for autoscaling v2beta2
2019-11-08 14:42:16 +01:00
hwdef
6c6fd9c575
pkg/apis: fix staticcheck warning
2019-11-08 14:49:39 +08:00
yue9944882
bbd2e6b48b
typo list-type s/associative/map/
2019-11-08 14:27:14 +08:00
yue9944882
3d1b5d0e9a
flowcontrol rest storage implementation
2019-11-08 14:27:14 +08:00
Kubernetes Prow Robot
9a85b019eb
Merge pull request #84706 from yue9944882/feat/add-partial-non-resource-url-validation
...
Feature: Validates partial path for flow-schema's non-resource-url rules
2019-11-06 15:34:17 -08:00
Kubernetes Prow Robot
1c974109b6
Merge pull request #84517 from arghya88/docs-patch
...
Fix typo in admission webhook
2019-11-06 07:19:52 -08:00
yue9944882
da612a365d
validates non-resoruce-url
2019-11-06 21:58:20 +08:00
Kubernetes Prow Robot
a9fb448723
Merge pull request #84670 from wojtek-t/remove_conversion_funcs_3
...
Autogenerate missing conversions for corev1 options types
2019-11-05 08:46:53 -08:00
Kubernetes Prow Robot
1d1385af91
Merge pull request #83474 from msau42/topology-ga
...
CSI Topology ga
2019-11-04 15:28:27 -08:00
wojtekt
0b4b7d95a2
Autogenerated
2019-11-02 16:33:47 +01:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
...
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Kubernetes Prow Robot
d0f2c7c590
Merge pull request #84481 from robscott/endpointslice-port-validation
...
Fixing EndpointSlice port validation
2019-10-30 21:55:37 -07:00
Rob Scott
fe54e1f386
Fixing EndpointSlice port validation
...
This updates EndpointSlice port validation to mirror the validation
already in use for Service and Endpoint ports. This is required to
ensure all valid Service ports can be mapped directly to EndpointSlice
ports.
2019-10-30 12:32:23 -07:00
Arghya Sadhu
f6da54511f
Fix typo in admission webhook
2019-10-29 19:25:22 +05:30
yue9944882
6db3edff10
[generated] ./hack/update-all.sh
...
generated
generated
generated
rule
generated
generated
2019-10-29 12:59:17 +08:00
yue9944882
c2d081eaf9
adding validation
...
validation test
validation test
validation
adding validation for fs/pl status
validation
validation
validation
replace < with <=
validation test
2019-10-29 12:59:16 +08:00
yue9944882
38171e7fba
copy-pasted internal model w/ field-tags pruned
...
internal
internal
internal
internal
internal
2019-10-29 12:26:13 +08:00
yue9944882
7c28a4b70e
non-generated api models misc
...
rule list
rule
rule 2
2019-10-29 12:26:12 +08:00
Michelle Au
9268d40539
generated files
2019-10-28 13:41:13 -07:00
Michelle Au
603a2aa8a9
Add CSINode to storage/v1
2019-10-28 13:41:13 -07:00
wojtekt
fc2332d843
Autogenerated
2019-10-28 21:14:20 +01:00
wojtekt
32759d33bf
Cleanup conversions
2019-10-28 21:14:20 +01:00
Kubernetes Prow Robot
d379ab2697
Merge pull request #84288 from wojtek-t/cleanup_conversions_registrations
...
Cleanup conversions registrations
2019-10-25 22:53:22 -07:00
Anish Ramasekar
af4d18ccf9
add status.podIPs in downward api
...
add host file write for podIPs
update tests
remove import alias
update type check
update type check
remove import alias
update open api spec
add tests
update test
add tests
address review comments
update imports
remove todo and import alias
2019-10-25 09:18:49 -07:00
Lee Verberne
ea1af57eab
Promote feature PodShareProcessNamespace to GA
2019-10-25 12:35:17 +00:00
Kubernetes Prow Robot
a7cc252b12
Merge pull request #84091 from robscott/endpointslice-fqdn
...
Adding FQDN address type for EndpointSlice
2019-10-24 16:56:05 -07:00
Rob Scott
d410bd28c3
Adding FQDN address type for EndpointSlice
2019-10-24 13:56:04 -07:00
wojtekt
7b6bcdf780
Autogenerated code
2019-10-24 20:21:00 +02:00
wojtekt
d7011f1bdb
Cleanup explicitly registered functions
2019-10-24 20:21:00 +02:00
Kubernetes Prow Robot
5238e1c80f
Merge pull request #76362 from yue9944882/chore/follow-up-prune-internal-client-scheduling-v1-api
...
Follow-up of #71136 : Switch system priority class usage to versioned (v1) api
2019-10-23 22:03:06 -07:00
Kubernetes Prow Robot
6d4aeccfcc
Merge pull request #83709 from wojtek-t/autogenerate_decode_parameters
...
Autogenerate conversions for decoding parameters
2019-10-23 19:07:05 -07:00
Kubernetes Prow Robot
5d3efb06d4
Merge pull request #83865 from mrbobbytables/update-api-approvers-owners
...
Prune inactive owners from api-approver owned OWNERS files.
2019-10-23 12:50:46 -07:00
yue9944882
09cf42d67c
switch system priority class to versioned (v1) api
...
move all the helpers to scheduling v1 helpers
less explicit conversion
2019-10-24 00:51:57 +08:00
DingShujie
171b486c34
Fix golint errors in pkg/apis/apps
2019-10-23 23:32:08 +08:00
wojtekt
3be4d85ec6
Autogenerated files
2019-10-23 08:28:31 +02:00
Kubernetes Prow Robot
6a5f0e6eda
Merge pull request #81348 from yastij/code-org-service-controller
...
move service helpers to k8s.io/cloud-provider
2019-10-17 00:20:38 -07:00
Kubernetes Prow Robot
cb19b56831
Merge pull request #83419 from deads2k/insecure-backend-proxy
...
Insecure backend proxy
2019-10-16 13:58:38 -07:00
David Eads
867ee1d5ff
add insecurebackendproxy
2019-10-16 11:43:17 -04:00
Yassine TIJANI
d796baea27
move service helpers to k8s.io/cloud-provider
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-16 14:12:11 +02:00
Bob Killen
03082531cc
Prune inactive owners from api-approver owned OWNERS files.
2019-10-13 08:54:18 -04:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status.
2019-10-11 17:46:18 -04:00
David Eads
a886247fe4
generated
2019-10-11 16:38:32 -04:00
Kubernetes Prow Robot
4f1c5b8cac
Merge pull request #81940 from carlory/fix-appserver
...
fix static check failures
2019-10-10 12:07:21 -07:00
carlory
f6bb24129e
fix static check failures
2019-10-10 22:59:09 +08:00
Kevin Taylor
cb8a7c1a4c
Promote VolumeSubpathEnvExpansion feature gate to GA
2019-10-10 09:34:40 +01:00
W. Trevor King
a05cabb3a6
pkg/apis/policy: Fix "informatio" -> "information" comment typo
...
Typo from kubernetes/kubernetes@8e2347370e (Add observedGeneration to
PodDisruptionBudgetStatus, 2016-11-08, kubernetes/kubernetes#36438 ).
2019-10-08 12:27:50 -07:00
Kubernetes Prow Robot
dd5efc420b
Merge pull request #82511 from abursavich/keyusage
...
Fix typos in KeyUsage constant names
2019-09-27 03:23:35 -07:00
Kubernetes Prow Robot
3264ffbec4
Merge pull request #83047 from danielqsj/default-updateStrategy
...
fix the comments of default daemonset update strategy
2019-09-25 13:51:40 -07:00
Mahendra Kariya
3698100224
Fix golint errors in pkg/apis/core ( #82919 )
...
* Fix lint errors related to receiver name
Ref #68026
* Fix lint errors related to comments
Ref #68026
* Fix package name in comments
Ref #68026
* Rename Cpu to CPU
Ref #68026
* Fix lint errors related to naming convention
Ref #68026
* Remove deprecated field
DoNotUse_ExternalID has been deprecated and is not in use anymore.
It has been removed to fix lint errors related to underscores in field
names.
Ref #68026 , #61966
* Include pkg/apis/core in golint check
Ref #68026
* Rename var to fix lint errors
Ref #68026
* Revert "Remove deprecated field"
This reverts commit 75e9bfc168077fcb9346e334b59d60a2c997735b.
Ref #82919
* Remove math from godoc
Ref #82919 , #68026
* Remove underscore from var name
Ref #68026
* Rename var in staging core api type
Ref #68026
2019-09-25 11:06:51 -07:00
danielqsj
acb35798b8
fix default daemonset update strategy
2019-09-25 08:31:13 +08:00
Mark Janssen
1a1b7001d6
Fix staticcheck failures for scheduler packages
...
Errors from staticcheck:
cmd/kube-scheduler/app/server.go:297:27: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead. (SA1019)
pkg/apis/scheduling/v1alpha1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
pkg/apis/scheduling/v1beta1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
test/e2e/scheduling/predicates.go:757:6: func verifyReplicasResult is unused (U1000)
test/e2e/scheduling/predicates.go:765:6: func getPodsByLabels is unused (U1000)
test/e2e/scheduling/predicates.go:772:6: func runAndKeepPodWithLabelAndGetNodeName is unused (U1000)
test/e2e/scheduling/limit_range.go:172:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:177:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:196:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:201:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:240:3: this value of pod is never used (SA4006)
test/e2e/scheduling/taints.go:428:13: this value of err is never used (SA4006)
test/e2e/scheduling/ubernetes_lite.go:219:2: this value of pods is never used (SA4006)
test/integration/scheduler/extender_test.go:78:4: this value of resp is never used (SA4006)
test/integration/volumescheduling/volume_binding_test.go:529:15: this result of append is never used, except maybe in other appends (SA4010)
test/integration/volumescheduling/volume_binding_test.go:538:15: this result of append is never used, except maybe in other appends (SA4010)
2019-09-23 22:52:57 +02:00
Kubernetes Prow Robot
946350d99e
Merge pull request #82780 from wojtek-t/remove_unnecessary_conversions
...
Remove unnecessary (inefficient) manual conversions
2019-09-17 09:30:33 -07:00
wojtekt
12bbbcc61b
autogenerated
2019-09-17 10:51:25 +02:00
wojtekt
3546bcbd5a
Remove unneded/bad conversion
2019-09-17 10:51:25 +02:00
Kubernetes Prow Robot
caeda2112a
Merge pull request #82759 from sttts/sttts-pvc-negative-resource-error-message
...
validations: for negative PVC storage size don't report "must be >= 0"
2019-09-16 18:06:35 -07:00
Dr. Stefan Schimanski
473f49435c
validations: for negative PVC storage size don't report "must be >= 0"
2019-09-16 19:03:30 +02:00
Jordan Liggitt
eedf063599
Allow v1 review versions in 1.17+
2019-09-13 13:52:28 -04:00
Kubernetes Prow Robot
3846f6b648
Merge pull request #82599 from abursavich/consts
...
Make API constants constant
2019-09-12 10:04:41 -07:00
Andy Bursavich
030aab29a1
Make API constants constant
2019-09-11 11:04:07 -07: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
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
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
afa979c295
Merge pull request #82133 from bclau/windows/run-as-username-fix
...
api: Loosens RunAsUserName validation
2019-08-30 09:40:43 -07:00
Kubernetes Prow Robot
3ebe6a6a5f
Merge pull request #77807 from matthyx/startupProbe
...
Add startupProbe to health checks
2019-08-29 21:21:30 -07:00
Kubernetes Prow Robot
a9f0db1661
Merge pull request #81770 from Hyzhou/fix_link
...
Fix broken link to api-conventions doc.
2019-08-29 18:08:59 -07:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Matthias Bertschy
e4d26f845e
startupProbe: API changes
2019-08-30 00:40:26 +02:00
Kubernetes Prow Robot
8a4edd9381
Merge pull request #79614 from verb/debug-api-docs
...
Improve API documentation for ephemeral containers
2019-08-29 15:35:13 -07:00
Kubernetes Prow Robot
efaacf786a
Merge pull request #73405 from wozniakjan/namespace_status_conditions
...
Add namespace status conditions
2019-08-29 15:34:58 -07:00
Kubernetes Prow Robot
47214d672d
Merge pull request #82012 from pohly/ephemeral-roundtrip-fix
...
storage: fix CSIInlineVolume round-trip test
2019-08-29 09:30:55 -07:00
Jan Wozniak
b0459feb7d
Update generated files
...
make generated_files UPDATE_API_KNOWN_VIOLATIONS=true
./hack/update-generated-protobuf.sh
./hack/update-openapi-spec.sh
./hack/update-bazel.sh
./hack/update-generated-swagger-docs.sh
./hack/update-generated-api-compatibility-data.sh
2019-08-29 13:26:13 +02:00
Jan Wozniak
94a5e8c3dc
Add status conditions to namespaces
2019-08-29 13:21:15 +02:00
Kubernetes Prow Robot
550fb1bfc3
Merge pull request #79386 from khenidak/phase2-dualstack
...
Phase 2 dualstack
2019-08-28 20:39:56 -07:00
misakazhou
f0323a2030
Fix broken link to api-conventions doc.
...
Signed-off-by: misakazhou <misakazhou@tencent.com>
2019-08-29 08:35:16 +08:00
Kubernetes Prow Robot
41049fdf4b
Merge pull request #81977 from abursavich/const
...
Add types to StatefulSetUpdateStrategyType constants
2019-08-28 14:45:08 -07:00
Kubernetes Prow Robot
6c9f26ca3a
Merge pull request #80766 from robscott/discovery-api
...
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
Claudiu Belu
cafbfbea9a
api: Loosens RunAsUserName validation
...
Currently, the character limit for the usernames set in the RunAsUserName is 20,
which is too low, considering that "ContainerAdministrator" is a valid username and
it is longer than 20 characters. A user should be able to run containers as
Administrator, if needed.
According to [1], Logon names can be up to 104 characters. The previous limit
only applies to local user accounts for the local system.
[1] https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb726984(v=technet.10)
2019-08-28 13:03:44 -07:00
Khaled Henidak(Kal)
c27e0b029d
phase 2: generated items
2019-08-28 16:11:46 +00:00
Khaled Henidak(Kal)
5e8ccda71c
phase 2: api types + defaulting + validation + disabled fields handling
2019-08-28 15:59:43 +00:00
Robert Bailey
9d211ab352
Remove myself from reviewers across the repo so that PRs are no
...
longer assigned to me by blunderbuss.
Move myself to be an emeritus approver for the cluster directory.
2019-08-27 16:10:16 -07:00
Lee Verberne
dbf0548bbc
Improve API documentation for ephemeral containers
2019-08-27 16:25:05 +00:00
Patrick Ohly
6d12f2de10
storage: fix CSIInlineVolume round-trip test
...
When adding CSIDriver.Spec.VolumeLifecycleModes, the defaulting in
pkg/apis/storage/fuzzer/fuzzer.go did not quite match the one from
pkg/apis/storage/v1beta1/defaults.go, causing a test failure when the
corresponding feature gate is enabled.
2019-08-27 14:00:42 +02:00
Andy Bursavich
cc255816eb
Add types to StatefulSetUpdateStrategyType constants
2019-08-26 16:29:15 -07:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices
2019-08-26 14:50:00 -07:00
Patrick Ohly
c20721aa9f
storage: enhance test for ValidateCSIDriverUpdate
...
This revised test changes one field at a time in various ways. This
ensures that one failure reason doesn't mask the other.
An incorrect comment also gets fixed.
Suggested in https://github.com/kubernetes/kubernetes/pull/80568#pullrequestreview-272836101 .
2019-08-26 21:45:39 +02:00
Kubernetes Prow Robot
087aafc18d
Merge pull request #80568 from pohly/ephemeral-mode-check
...
ephemeral mode check
2019-08-26 11:53:40 -07:00
obitech
905e7510c8
Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation
2019-08-22 21:26:49 +02:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Kubernetes Prow Robot
7a6e9fd8a9
Merge pull request #80512 from casusbelli/bugfix_80332
...
Removes conflicting Quobyte tenant test from API validation
2019-08-16 17:02:08 -07:00
Silvan Kaiser
a11e6a80a1
Removes conflicting Quobyte tenant test error from API validation
2019-08-16 14:06:25 +02:00
Kubernetes Prow Robot
661e4d5b38
Merge pull request #81271 from jpbetz/webhok-agnhost-v1
...
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
Joe Betz
4f7543e42a
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 14:57:55 -07:00
Patrick Ohly
1db1263476
storage: add test for ValidateCSIDriverUpdate
...
Adding this test was forgotten when adding CSIDriver.
2019-08-13 23:12:52 +02:00
Patrick Ohly
b60f08e24b
storage: validate CSIDriver.Spec.VolumeLifecycleModes
...
This ensures that users get a good error message early on when trying
to do something that isn't okay:
$ kubectl create -f csi-hostpath-driverinfo.yaml
The CSIDriver "hostpath.csi.k8s.io" is invalid: spec.volumeLifecycleModes: Unsupported value: "foobar": supported values: "persistent", "ephemeral"
2019-08-13 23:12:48 +02:00
Patrick Ohly
f7742fd31a
storage: generated files for CSIDriver.Spec.VolumeLifecycleModes
2019-08-13 23:11:42 +02:00
Patrick Ohly
029fd47757
storage: introduce CSIDriver.Spec.VolumeLifecycleModes
...
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- list "ephemeral" as one of the supported modes
The default is "persistent", so existing deployments continue to work
and are automatically protected against incorrect usage.
This commit contains the API change. Generated code and manual code
which uses the new API follow.
2019-08-13 23:11:36 +02:00
Kubernetes Prow Robot
2f91fcc3fd
Merge pull request #80825 from tallclair/runtimeclass-scheduling-api
...
Runtimeclass scheduling api
2019-08-12 18:21:39 -07:00
Kubernetes Prow Robot
31bade3822
Merge pull request #81046 from liggitt/admission-side-effects
...
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-09 13:55:27 -07:00
Tim Allclair
d54879862b
Update generated files
2019-08-09 11:13:07 -07:00
Yassine TIJANI
009658d643
Introduce topology into the runtimeClass API
...
Co-authored-by: Tim Allclair <tallclair@google.com>
2019-08-09 11:13:07 -07:00
Kubernetes Prow Robot
6c0c167829
Merge pull request #80395 from Huang-Wei/cleanup-eps-validation
...
Optimize logic in EvenPodsSpread API validation
2019-08-07 20:09:41 -07:00
Jordan Liggitt
190c926d1f
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-06 20:54:06 -04:00
Kubernetes Prow Robot
6049253aae
Merge pull request #80945 from tedyu/uncond-validate
...
Validate CSI Inline Migration unconditionally
2019-08-06 11:11:55 -07:00
Ted Yu
bb77aa7a63
Validate CSI Inline Migration unconditionally
2019-08-06 08:33:31 -07:00
liangxia
6d431fa05b
Fix example urls
2019-08-05 11:45:52 +08:00
Jordan Liggitt
2e604bedc8
Make Overhead validation unconditional
2019-08-02 20:09:52 -04:00
Jordan Liggitt
802e765444
Preserve existing ephemeral containers on update, validate unconditionally
2019-08-02 20:00:01 -04:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Jordan Liggitt
308c23cf89
Generated
2019-08-01 17:17:42 -04:00
Jordan Liggitt
649ee4f2d0
Clarify accepted versions skew requirements, update field documentation
2019-08-01 17:17:42 -04:00
Jordan Liggitt
44930fc939
AdmissionReview: Install/register
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
260421499a
Merge pull request #80487 from huffmanca/BZ1731316
...
Corrected Cinder typos.
2019-08-01 13:38:15 -07:00
Jordan Liggitt
0429ab8c22
AdmissionReview: copy v1beta1 to v1
2019-07-27 13:56:58 -04:00
Kubernetes Prow Robot
b72077410b
Merge pull request #80520 from ethan-daocloud/patch-2
...
fix wrong spells in events.go
2019-07-26 00:04:00 -07:00
Kubernetes Prow Robot
20106560f7
Merge pull request #79425 from johscheuer/fix-networkpolicy-typo
...
Fix typo in network policy ingress rule
2019-07-24 21:19:51 -07:00
Christian Huffman
c3e883ceb9
Corrected Cinder typos.
2019-07-24 15:52:48 -04:00
ethan
72c727e3b4
fix wrong spells in events.go
2019-07-24 21:26:09 +08:00
Wei Huang
cfd97ba070
Optimize logic in EvenPodsSpread API validation
2019-07-23 16:27:39 -07:00
Lee Verberne
4a753c7a44
Generated code for ephemeral containers API
2019-07-22 11:19:22 +00:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
Wei Huang
eafd4e96d9
EvenPodsSpread: auto-gen files
2019-07-18 17:34:26 -07:00
Wei Huang
49da505a9a
EvenPodsSpread: api changes
2019-07-18 17:34:26 -07:00
Kubernetes Prow Robot
2b21e478b1
Merge pull request #79489 from bclau/feature/run-as-username
...
Adds WindowsOptions.RunAsUserName field
2019-07-17 19:34:24 -07:00
James Sturtevant
1c4edfba57
Run code generation for new field
2019-07-17 15:03:10 +00:00
James Sturtevant
e8b369ff3c
Windows: Adds RunAsUserName field in WindowsOptions
...
Adds the field RunAsUserName in the WindowsSecurityContextOptions type,
which is used in PodSecurityContext and SecurityContext.
This field needs to allow for a valid set of usernames allowed for
Windows containers. It must have the format "U
This commit also validates the runAsUserName field, making sure that it valid,
having the format DOMAIN\USER (case insensitive), where DOMAIN\ is optional and
has to be a valid NetBios or DNS domain name.
For more information about the restrictions on the DOMAIN and USER parts, look here: [1] [2]
Adds the WindowsRunAsUserName alpha feature gate. By default, it is disabled.
If the feature gate is not enabled, the WindowsOptions.RunAsUserName field
will be dropped from both the PodSecurityContext and container
SecurityContext.
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
[1] https://support.microsoft.com/en-us/help/909264/naming-conventions-in-active-directory-for-computers-domains-sites-and
[2] https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/new-localuser?view=powershell-5.1
2019-07-17 15:03:04 +00:00
Kubernetes Prow Robot
0a5c1f0d97
Merge pull request #79834 from SataQiu/fix-taint-20190705
...
Make taint.ToString() consistent with the reverse parsing logic
2019-07-16 15:24:05 -07:00
Rinat Shigapov
19d93eefeb
Update generated files
...
update generated protobufs
swagger docs are regenerated
update openapi-spec
update generated openapi
2019-07-16 08:46:21 -05:00
Rinat Shigapov
d55f037b7d
HPA scale-to-zero for custom object/external metrics
...
Add support for scaling to zero pods
minReplicas is allowed to be zero
condition is set once
Based on https://github.com/kubernetes/kubernetes/pull/61423
set original valid condition
add scale to/from zero and invalid metric tests
Scaling up from zero pods ignores tolerance
validate metrics when minReplicas is 0
Document HPA behaviour when minReplicas is 0
Documented minReplicas field in autoscaling APIs
2019-07-16 08:46:21 -05:00