Commit Graph

2702 Commits

Author SHA1 Message Date
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
SataQiu
23b7ae6041 make taint.ToString() consistent with the reverse parsing logic 2019-07-16 21:06:01 +08:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Jordan Liggitt
b15aed6409 Generated 2019-07-10 17:38:09 -04:00
Jordan Liggitt
0eeef7c2e6 Add defaulting tests 2019-07-10 17:38:09 -04:00
Jordan Liggitt
2dd7910442 Add mutatingwebhook validation tests 2019-07-10 17:38:09 -04:00
Jordan Liggitt
08b15d32f7 Require webhook names to be unique in v1 2019-07-10 17:38:09 -04:00
Jordan Liggitt
6c3891a25f Remove default admissionReviewVersions in v1, make required in validation 2019-07-10 17:38:09 -04:00
Jordan Liggitt
9dcc722d2e Remove default sideEffects in v1, make required in validation 2019-07-10 17:38:08 -04:00
Jordan Liggitt
7543b2ef55 Change default timeout to 10 seconds 2019-07-10 17:38:08 -04:00
Jordan Liggitt
08433067c3 Change default matchPolicy to Equivalent in v1 2019-07-10 17:38:08 -04:00
Ted Yu
ceceb68cee Remove unintended ampersand in front of in.Current.AverageValue 2019-07-08 10:23:41 -07:00
Jordan Liggitt
e050590182 Change default failurePolicy to Fail in v1 2019-07-08 09:49:29 -04:00
Jordan Liggitt
e24377f190 Install/register v1 admission registration types 2019-07-08 09:49:29 -04:00
Jordan Liggitt
d2a84a5619 Copy v1beta1 to v1 admission registration types 2019-07-08 09:49:29 -04:00
Pingan2017
e94d7b3802 clean up redundant conditiontype OutOfDisk 2019-07-03 14:34:52 +08:00
Khaled Henidak(Kal)
af552ab469 generated items 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
2b77667718 vendor updates 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
54d42e6a65 types modifications + conversion + conversion testing 2019-07-02 15:39:05 +00:00
Kubernetes Prow Robot
64a2be8e44
Merge pull request #79387 from tedyu/cont-helper-early
Restore early return for podSpecHasContainer
2019-07-01 15:09:45 -07:00
Kubernetes Prow Robot
9c8827f564
Merge pull request #78914 from liggitt/pod-spec-defaults
Add tests to detect default changes to podspec and podspectemplate defaults
2019-06-27 14:11:21 -07:00
Jordan Liggitt
617309cbce Add tests for podspec and podtemplatespec default changes 2019-06-27 12:56:43 -07:00
Johannes M. Scheuermann
94ce517212 Fix typo in network policy ingress rule 2019-06-26 19:27:09 +02:00
Ted Yu
cf7c164ae3 Restore early return for podSpecHasContainer 2019-06-26 14:17:13 +08:00
Kubernetes Prow Robot
22fb6fd174
Merge pull request #77595 from bertinatto/volume_limits
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Kubernetes Prow Robot
1215aa73d2
Merge pull request #79176 from verb/debug-iterate-containers
Add helpers for iterating containers in a pod
2019-06-25 09:32:52 -07:00
Fabio Bertinatto
b90ca5b2a7 Auto-generated code for volume limits API 2019-06-25 16:30:54 +02:00
Fabio Bertinatto
13e30b6342 Add volume limits API changes 2019-06-25 16:30:54 +02:00
Kubernetes Prow Robot
ad095324bf
Merge pull request #79309 from draveness/feature/cleanup-CSIPersistentVolume-feature-gates
feat: cleanup feature gates for CSIPersistentVolume
2019-06-25 01:15:03 -07:00
Kubernetes Prow Robot
cff6e42005
Merge pull request #75223 from sjenning/fix-pod-qos-init-containers
kubelet: include init containers when determining pod QoS
2019-06-25 01:14:37 -07:00
draveness
8e9472ba79 feat: cleanup feature gates for CSIPersistentVolume 2019-06-25 09:00:12 +08:00
draveness
ca6003bc75 feat: cleanup PodPriority features gate 2019-06-23 11:57:24 +08:00
Lee Verberne
a0b57ad3db Update BUILD files for container helper 2019-06-21 08:32:04 +00:00
Lee Verberne
ee821e2a04 Create helpers for iterating containers in a pod 2019-06-21 08:32:04 +00:00
Eric Ernst
5e09568c8e pod-overhead: autogenerated code updates
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
2c52cc3412 pod-overhead: add Overhead to RuntimeClass internal type
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
bcb046a443 pod-overhead: add Overhead to RuntimeClass
Co-authored-by: Tim Allclair <tallclair@google.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
d0b0c0ae45 pod-overhead: add Overhead to PodSpec internal type
Update internal PodSpec to make use of Overhead field. Add validation
and validation tests.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Jordan Liggitt
899d00a529 Fix incorrect procMount defaulting 2019-06-10 22:01:54 -04:00
Kubernetes Prow Robot
6e23ef6cdc
Merge pull request #78598 from yastij/revert-75744-runtimeclass-scheduling-api
Revert "Introduce topology into the runtimeClass API"
2019-06-01 20:14:16 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Yassine TIJANI
480d5e47b6
Revert "Introduce topology into the runtimeClass API" 2019-05-31 20:49:40 +00:00
Kubernetes Prow Robot
b7fa33ec15
Merge pull request #77703 from ddebroy/inline-mig-1
API changes to support migration of inline in-tree volumes to CSI
2019-05-31 12:23:19 -07:00
Kubernetes Prow Robot
82bfa667ed
Merge pull request #76913 from j-griffith/cleaned_enable_pvc_datasource
Cleaned enable pvc datasource
2019-05-31 09:30:29 -07:00
Kubernetes Prow Robot
6273a7af1c
Merge pull request #75744 from yastij/runtimeclass-scheduling-api
Introduce topology into the runtimeClass API
2019-05-31 07:12:57 -07:00
j-griffith
62a4861c9b fix typo in types.go comment 2019-05-31 06:08:24 -06:00
j-griffith
60d991e59a add comments to validation testcases, and use const in util.go 2019-05-31 06:07:53 -06:00
j-griffith
54154f8ebb rework pvc datasource filter tests 2019-05-31 06:07:53 -06:00
j-griffith
ae4c2a1858 Enable PVC as DataSource for PVC creation
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:07:53 -06:00
j-griffith
a66bb3c63d Update unit tests and feature name
Update the unit tests to include checks for incorrect APIGroup type in
PVC DataSource and change the name of the feature gate to be more clear:
s/VolumeDataSource/VolumePVCDataSource/
2019-05-31 06:07:44 -06:00
j-griffith
123f1bac35 Enable PVC as DataSource for PVC creation
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:06:44 -06:00
wangqingcan
52f3380ef3 change preempting to PreemptionPolicy 2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691 non-preempting-priorityclass
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Chao Xu
4f5c47fb99 generated 2019-05-30 16:46:00 -07:00
Chao Xu
70f1b052e3 api 2019-05-30 16:46:00 -07:00
Joe Betz
95fa928ecb Add mutating admission webhook reinvocation 2019-05-30 14:31:09 -07:00
Joe Betz
939a04f0ed codegen: Add mutating admission webhook reinvocation 2019-05-30 14:31:09 -07:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Joe Betz
9356561c86 codegen: split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Deep Debroy
df196226c4 Generated code for API changes to support CSI migration of inline volumes
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:53 +00:00
Deep Debroy
c34309acdf API changes to support CSI migration of inline volumes
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:47 +00:00
Vladimir Vivien
8e0cf65310 Enforce pod security policy for CSI inline 2019-05-29 15:38:21 -04:00
Kubernetes Prow Robot
864e5e564a
Merge pull request #78354 from kaleocheng/fix-golint-pkg-apis-abac-latest
Fix golint issue in pkg/apis/abac/latest
2019-05-29 09:45:16 -07:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
cd9f430941
Merge pull request #78135 from liggitt/webhook-conversion
Convert to admission webhook-recognized versions
2019-05-29 00:52:36 -07:00
Kubernetes Prow Robot
3ccb63bb1b
Merge pull request #78385 from thz/externalNameTrailingDot
Allow trailing dot for service.spec.externalName
2019-05-28 15:53:49 -07:00
Jordan Liggitt
8504a0e556 generated: AdmissionRegistration changes 2019-05-28 14:26:06 -04:00
Jordan Liggitt
b6fa0f5b0f AdmissionRegistration API changes: MatchPolicy 2019-05-28 14:26:06 -04:00
Jordan Liggitt
0402f677f0 generated: AdmissionReview changes 2019-05-28 14:25:00 -04:00
Jordan Liggitt
7a9ecfd897 AdmissionReview API changes 2019-05-28 14:25:00 -04:00
yameiwang
81d25371e8 fix typo in helpers_test.go 2019-05-28 03:29:38 +08:00
Tobias Hintze
8829efaeb0
Allow trailing dot for service.spec.externalName 2019-05-27 11:28:07 +02:00
Kaleo
e672fb6b6a Fix golint issue in pkg/apis/abac/latest 2019-05-26 16:30:35 +08:00
Chao Xu
369314959c generated 2019-05-24 18:14:53 -07:00
Tim Allclair
2e384858f0 regenerate 2019-05-22 08:48:57 -07:00
Tim Allclair
10c514725b Update types from api review 2019-05-22 08:48:57 -07:00
Seth Jennings
bcfa60d955 kubelet: include init containers when determining pod QoS 2019-05-17 10:57:03 -05:00
Jean Rouge
181706b0f0 Auto-generated changes for Windows GMSA support
This patch comprises the auto-generated changes for the API changes outlined in
the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md)
to add GMSA support to Windows workloads.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:34:22 -07:00
Jean Rouge
a3e914528a API changes for Windows GMSA support
This patch comprises the API changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md)
to add GMSA support to Windows workloads.

It includes validation, as well as dropping fields if the `WindowsGMSA` feature
flag is not set, both with unit tests.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:32:59 -07:00
Kubernetes Prow Robot
de6ce5ee16
Merge pull request #69867 from HotelsDotCom/allow-updates-to-pdbs
Allow updates/patches to pod disruption budgets
2019-05-14 18:24:17 -07:00
David McCormick
3537eed826 Remove the generation altering code - validate an update for a PDB by running ValidatePodDisruptionBudget only. 2019-05-14 12:25:23 +01:00
David McCormick
5b9e4f1e88 Rebase allow updates to pdbs to latest upstream master 2019-05-14 12:25:22 +01:00
Joe Betz
332d88db1a Generate proto bindings for: Pass {Operation}Option to Webhooks 2019-05-13 23:10:58 -07:00
Joe Betz
140c8c73a6 Pass {Operation}Option to Webhooks 2019-05-13 23:10:52 -07:00
Elisiano Petrini
04f59751ec Fixed spelling in a couple of descriptions 2019-05-11 15:54:09 -04:00
Kubernetes Prow Robot
3e7fa617b3
Merge pull request #77516 from gnufied/implement-resize-secrets
Add a new field for storing volume expansion secrets
2019-05-09 17:51:58 -07:00
Hemant Kumar
69393291b6 Add a new field for storing volume expansion secrets
Fix pv secret visitor tests
Allow SecretRef for resizing to be set if not already set
2019-05-09 13:53:47 -04:00
Àbéjídé Àyodélé
25df4e69a5 Clean up pkg/apis.
These are based on recommendation from
[staticcheck](http://staticcheck.io/).
2019-05-09 15:25:41 +00:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Daniel (Shijun) Qian
5268f69405 fix duplicated imports of k8s code (#77484)
* fix duplicated imports of api/core/v1

* fix duplicated imports of client-go/kubernetes

* fix duplicated imports of rest code

* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Andrew Kim
c919139245 update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
9f1b04f906
Merge pull request #77514 from cmluciano/cml/ownernetapi
organize sig-net-api-{reviewers,approvers} in OWNERS_ALIASES
2019-05-06 19:18:05 -07:00
Tim Allclair
d419bdfcd9 Validate topology 2019-05-06 18:38:56 -07:00
Kubernetes Prow Robot
aafac3cfca
Merge pull request #77380 from SataQiu/fix-golint-apis-20190503
Fix golint failures of pkg/apis/scheduling, pkg/apis/storage/util, etc
2019-05-06 15:30:32 -07:00
Christopher M. Luciano
b785f95130
organize sig-net-api-{reviewers,approvers} in OWNERS_ALIASES
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-06 12:04:04 -04:00
Kubernetes Prow Robot
8136cfc512
Merge pull request #75987 from yastij/event-state-deprecation
deprecate state field of eventSeries on Event API
2019-05-03 01:02:21 -07:00
SataQiu
ed04c5f459 fix golint failures of pkg/apis/scheduling pkg/apis/storage/util pkg/apis/storage/v1/util pkg/apis/storage/v1beta1/util 2019-05-03 15:54:24 +08:00
Kubernetes Prow Robot
1adaf2cd5b
Merge pull request #77147 from wk8/wk8/win_sec_opts
Adding a new `WindowsSecurityOptions` struct
2019-05-02 16:22:44 -07:00
Jordan Liggitt
20ce402214 generated 2019-05-02 12:20:29 -04:00
Jordan Liggitt
38fbcb767d Remove unnecessary custom conversions 2019-05-02 12:17:46 -04:00
Kubernetes Prow Robot
6a48257627
Merge pull request #73795 from tallclair/runtimeclass-psp
PodSecurityPolicy RuntimeClass support
2019-05-02 00:46:17 -07:00
Tim Allclair
952c45f654 RuntimeClass PSP API validation 2019-05-01 13:43:41 -07:00
Tim Allclair
57c6eacdcf RuntimeClass PSP API generated files 2019-05-01 13:43:36 -07:00
Tim Allclair
821cb155ab PodSecurityPolicy RuntimeClass API 2019-04-30 16:45:09 -07:00
Kubernetes Prow Robot
a2afe45366
Merge pull request #76991 from yue9944882/chore/cleanup-hub-genclient-tags
Clean up genclient tags for hub types
2019-04-30 14:11:12 -07:00
Kubernetes Prow Robot
0f4b666469
Merge pull request #76778 from SataQiu/fix-golint-20190419
Fix golint failures of pkg/apis/autoscaling
2019-04-30 01:19:37 -07:00
Kubernetes Prow Robot
4ebe11a6cb
Merge pull request #76110 from DirectXMan12/infra/prune-owners
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
Yassine TIJANI
0f3e9ca700 deprecate count field on Event API 2019-04-28 23:32:50 +02:00
Jean Rouge
03907a3bf6 Auto-gen
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-04-26 22:14:47 +00:00
Jean Rouge
d7aa31858e Adding a new WindowsSecurityOptions struct
As outlined in the KEP at
https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20190418-windows-security-context.md
and improvements on it at
https://github.com/kubernetes/enhancements/pull/975

For now this struct is left empty, as discussed in the KEP (see above) and as
previously discussed with Jordan Liggitt.

It will allow adding GMSA and options as well as `RunAsUserName` options; both of which have already been pre-implemented respectively at
https://github.com/kubernetes/kubernetes/pull/75459
and https://github.com/kubernetes/kubernetes/pull/73609; and both of which
will need to be re-based to make use of the new struct.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-04-26 14:19:40 -07:00
Kubernetes Prow Robot
a2b50cdc9a
Merge pull request #77033 from guineveresaenger/guin-lint
Remove golint failures from pkg/apis/admissionregistration
2019-04-25 16:10:50 -07:00
guineveresaenger
fa0c81cbd1 Remove golint failures from pkg/apis/admissionregistration
Adds test/integration/apiserver/admissionwebhook to golint_failures; it is failing on kubernetes/master currently
2019-04-25 12:20:52 -07:00
Yassine TIJANI
a7ca6fa728 update gofmt 2019-04-25 20:50:26 +02:00
Kubernetes Prow Robot
20b76a2b4a
Merge pull request #77002 from SataQiu/fix-golint-apis-networking
Fix golint failures of pkg/apis/networking
2019-04-24 18:13:18 -07:00
Kubernetes Prow Robot
7a5bc7c3ad
Merge pull request #76972 from egernst/runtimeclass-fixup
runtimeclass: update type description to beta
2019-04-24 18:12:56 -07:00
Eric Ernst
3ebb8ddd8a runtime-class: update type description to indicate beta
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-04-24 09:09:33 -07:00
SataQiu
73ec7ad2d6 fix golint failures of pkg/apis/networking 2019-04-24 18:08:18 +08:00
yue9944882
71a58de48b clean up genclient tags for hub types 2019-04-24 16:53:21 +08:00
SataQiu
853c33358a fix golint failures of pkg/apis/autoscaling 2019-04-24 15:13:01 +08:00
Kubernetes Prow Robot
2a3d307fb9
Merge pull request #76765 from SataQiu/fix-golint-apis-20190418
Fix golint failures of pkg/apis/authorization
2019-04-23 22:10:00 -07:00
Tim Allclair
d2a87d5afc Clean up RuntimeClass Topology documentation 2019-04-23 17:06:09 -07:00
Kubernetes Prow Robot
3488cd346a
Merge pull request #76804 from SataQiu/fix-apis-golint-20190419
Fix golint failures of pkg/apis/batch
2019-04-22 09:23:46 -07:00
Yassine TIJANI
3285db8649 add output topology 2019-04-20 02:40:10 +02:00
Yassine TIJANI
02288bc34f reuse autoconversion 2019-04-20 01:52:00 +02:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
SataQiu
61478c04d8 fix golint failures of pkg/apis/batch 2019-04-19 18:04:54 +08:00
Kubernetes Prow Robot
f3ec8f0d99
Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
SataQiu
aa60494209 fix golint failures of pkg/apis/authorization 2019-04-19 04:06:06 +08:00
Kevin Taylor
bb5b4ad0b2 Beta upgrade for feature date VolumeSubpathEnvExpansion 2019-04-17 07:41:00 +01:00
Kubernetes Prow Robot
90b9ccf7f4
Merge pull request #74447 from WanLinghao/builder_ptr_replace
Remove and replace ptr functions
2019-04-16 16:19:38 -07:00
SataQiu
556ff16b0d fix golint failures of pkg/apis/core/helper 2019-04-16 07:21:20 +08:00
Yassine TIJANI
e39d18f0c0 introduce topology into the runtimeClass API 2019-04-16 01:12:12 +02:00
WanLinghao
d0138ca3fe This commit does two things in pkg package:
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Mehdy Bohlool
c1076ba05a Fix API documentation, 'Port' to 'port' 2019-04-08 00:29:04 -07:00
Mehdy Bohlool
864cf3e33a Generated files 2019-04-08 00:29:04 -07:00
Mehdy Bohlool
11f37d757f Add port to ServiceResolvers 2019-04-08 00:19:52 -07:00
Mehdy Bohlool
404e2f7a30 Add port to ServiceReference of Admission Webhooks, ConversionWebhooks and AuditSync with defaulter and validator 2019-04-08 00:18:36 -07:00
Bobby (Babak) Salamat
8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -07:00
Nikhita Raghunath
8a6449d16f Update deepcopy files with fixed distinction between 1st and 2nd comment block
Ref: https://github.com/kubernetes/kubernetes/pull/71027
2019-04-05 01:03:12 +05:30
Solly Ross
837976cb59 Prune directxman12 from metrics/autoscaling OWNERS
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Humble Chirammal
ee9079f8ec Use better variable names in validation.go
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 09:43:36 +05:30
SataQiu
f82fb4059d fix some failures in pkg/apis 2019-03-23 12:20:49 +08:00
Kubernetes Prow Robot
6dc73a88d5
Merge pull request #75321 from ymlong/fix-2019031302
Correcting some spelling errors
2019-03-20 09:53:37 -07:00
Kubernetes Prow Robot
2f298724e2
Merge pull request #75083 from chi-xu/fix-20190307
change an to a
2019-03-20 09:52:58 -07:00
Kubernetes Prow Robot
9c5be7aa5f
Merge pull request #74686 from zhouhaibing089/add-trailing-period
validation: allow trailing period in dns search
2019-03-19 20:15:06 -07:00
ymlong
58f8c0207d Correcting some spelling errors 2019-03-13 15:00:32 +08:00
Vladimir Vivien
d998fc8f0f CSI Inline Volume - Generated files 2019-03-08 12:39:58 -05:00
Vladimir Vivien
4ec7d2305d CSI Inline Volume - API changes 2019-03-08 12:35:07 -05:00
Kubernetes Prow Robot
e318642946
Merge pull request #74998 from mbohlool/pippin
Webhook configurations can choose which version of Review request they accept
2019-03-08 03:01:26 -08:00
Kubernetes Prow Robot
183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Mehdy Bohlool
cbe00023c0 Update generated files 2019-03-07 21:00:29 -08:00
David Zhu
41b3579345 Address review comments 2019-03-07 17:17:09 -08:00
Mehdy Bohlool
f7dff4725f Add AdmissionReviewVersions to admissionregistration and default it 2019-03-07 15:02:16 -08:00
David Zhu
7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
Tim Allclair
428e9fa329 generated files 2019-03-07 11:57:12 -08:00
Tim Allclair
820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Tim Allclair
63f61a6714 Migrate RuntimeClass to internal API 2019-03-07 11:07:54 -08:00
Kubernetes Prow Robot
b7bf26abc1
Merge pull request #74713 from WanLinghao/duplicate_package
Remove duplicate package import
2019-03-06 22:54:57 -08:00
xuchi
93983289ad change an to a 2019-03-07 10:34:00 +08:00
Kubernetes Prow Robot
8b052158c7
Merge pull request #74477 from liggitt/webhook-admission-scope
Webhook admission scope
2019-03-05 21:42:11 -08:00
Jordan Liggitt
1d4655c8ef generated files
Change-Id: I5a43a4e1a601b85d21b551fcfc9fdbd16a095d06
2019-03-05 00:30:12 +00:00
Jordan Liggitt
0797d81222 Add scope restrictions to webhook admission rules 2019-03-05 00:30:12 +00:00
Xing Yang
ba4ccfa8b1 Add review comments in the APIs 2019-03-02 18:40:22 -08:00
Xing Yang
743d3a26e9 Add generated files 2019-03-02 12:31:05 -08:00
Xing Yang
bb45b8ee34 Make CSINodeInfo and CSIDriver Core APIs
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
WanLinghao
cb9da96cc9 Remove duplicate package import 2019-02-28 16:26:20 +08:00
zhouhaibing089
68beadefe4 validation: allow trailing period in dns search
The trailing period tells the resolver to stop immediately instead
of trying recursively. With that said, trailing period should be
acceptable in searches.
2019-02-27 14:21:52 -08:00
Kubernetes Prow Robot
218642e84e
Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Haowei Cai
1a25ced1c7 generated 2019-02-26 15:00:35 -08:00
Haowei Cai
ad0d523d6e tests 2019-02-26 14:44:31 -08:00
Haowei Cai
1cd9162c15 default and validation 2019-02-26 14:41:43 -08:00
Haowei Cai
609527a015 webhook timeout API change 2019-02-26 14:39:28 -08:00
Kubernetes Prow Robot
3f605a2337
Merge pull request #74285 from mourya007/selinux
Adding Selinux test in validation
2019-02-26 14:07:33 -08:00
SataQiu
09ba08f8f4 fix some golint failures for pkg/apis/... 2019-02-25 18:06:08 +08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Bobby (Babak) Salamat
1dac6d03e3 generated files 2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
453498fe2c Graduate PriorityClass to GA 2019-02-22 10:51:13 -08:00
Kubernetes Prow Robot
f08b2b8864
Merge pull request #74160 from mikedanese/updatedoc
clarify PreStop hook intended behavior in doc
2019-02-21 17:47:28 -08:00
Kubernetes Prow Robot
b9565bc98b
Merge pull request #73439 from cceckman/object
Fix typo, and note BoundObjectRef isn't always checked
2019-02-21 16:27:33 -08:00
Mike Danese
729ed4e67d clarify PreStop hook intended behavior in doc 2019-02-21 11:19:00 -08:00
Kubernetes Prow Robot
7d75b73e1d
Merge pull request #74057 from liggitt/ingress-network-v1beta1
Ingress extensions/v1beta1 -> networking.k8s.io/v1beta1
2019-02-21 01:07:48 -08:00
Jordan Liggitt
f139218ac0 generated files 2019-02-20 23:32:46 -05:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Jordan Liggitt
8c28d3f63c Add networking.k8s.io/v1beta1 Ingress 2019-02-20 16:41:14 -05:00
Jordan Liggitt
6c0b1b87f0 generated files 2019-02-20 16:41:14 -05:00
Jordan Liggitt
47cb9559be Move internal Ingress type from extensions to networking 2019-02-20 16:41:12 -05:00
mourya007
3eada575b3 Adding Selinux test in validation 2019-02-20 11:33:59 +05:30
Kevin Taylor
a64b854137 Implementation of KEP Feature Gate VolumeSubpathEnvExpansion 2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
f09848a301
Merge pull request #74110 from smarterclayton/fix_apitypo
api: Correct a typo in the API docs for rolling update strategy
2019-02-19 15:05:39 -08:00
Kubernetes Prow Robot
7fb16d9a8d
Merge pull request #74045 from xichengliudui/fixgolint
Fix golint failures on cmd/apis/extensions/...
2019-02-19 09:55:44 -08:00
Kubernetes Prow Robot
de2ceac50d
Merge pull request #74124 from truongnh1992/fix-typo
Correcting error on source codes
2019-02-18 20:16:46 -08:00
Kubernetes Prow Robot
7a5ea30b3d
Merge pull request #73961 from mattjmcnaughton/mattjmcnaughton/clarify-NetworkPolicy-policyTypes-in-docs
Clarify NetworkPolicy policyTypes in docs
2019-02-18 20:16:25 -08:00
Clayton Coleman
a5ba311260
api: Correct a typo in the API docs for rolling update strategy 2019-02-18 22:46:37 -05:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
fbee96d733
Merge pull request #73699 from pivotal-k8s/doc-links
Update deprecated and broken links
2019-02-15 14:05:09 -08:00
Marek Counts
7744f90830 Moved flag and globalflag
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Kubernetes Prow Robot
928bb2b993
Merge pull request #73262 from jimmy-zh/optimize-PV-AccessMode-comment
Optimize PersistentVolumeAccessMode comment
2019-02-15 06:40:14 -08:00
Ben Moss
34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Nguyen Hai Truong
34961dc16c trivial fix typo: resouce -> resource
Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-15 02:05:28 -08:00
Kubernetes Prow Robot
9f3b4b588d
Merge pull request #70521 from wenjun93/test
minor fix type missing
2019-02-15 01:36:29 -08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
mattjmcnaughton
41f05222e1 Clarify NetworkPolicy policyTypes in docs
Update the NetWorkPolicy `policyTypes` definition in the spec documentation so its
clear there are only three options: "Ingress", "Egress", and
"Ingress,Egress".
2019-02-14 09:28:50 -05:00
xichengliudui
a89ee493dd Fix golint failures on cmd/apis/extensions/... 2019-02-12 12:39:48 -05:00
Nikolaos Moraitis
c7e103fd44 apis:core:validation: remove unused, changes to idiomatic go 2019-02-09 18:07:18 +01:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot
8d8157f490
Merge pull request #73809 from mourya007/validation_test
Add missing testcases
2019-02-07 11:47:07 -08:00
mourya007
90b9808681 Add missing testcases 2019-02-07 11:14:53 +05:30
Kubernetes Prow Robot
152b09ac55
Merge pull request #73774 from liggitt/SCTPSupport
Ensure conditional validation has knowledge of old and new object
2019-02-06 17:35:17 -08:00
Jordan Liggitt
34ac165a44 Move conditional validation for SCTPSupport to validation functions with knowledge of old objects 2019-02-05 23:09:31 -05:00
Kubernetes Prow Robot
70e8d092a0
Merge pull request #73766 from liggitt/hugepages-cleanup
Remove HugePages feature gate check in validation
2019-02-05 19:06:56 -08:00
Kubernetes Prow Robot
017d87dd20
Merge pull request #73657 from krmayankk/service-account
add positive ut for service account projection
2019-02-05 15:14:50 -08:00
Jordan Liggitt
d2dbd3997b Remove HugePages feature gate check in validation 2019-02-05 17:36:24 -05:00
Kubernetes Prow Robot
dc1244c6cd
Merge pull request #72785 from derekwaynecarr/hugepages-ga
Graduate HugePages feature to GA
2019-02-05 13:56:51 -08:00
Kubernetes Prow Robot
f3a6dbceb2
Merge pull request #68925 from casusbelli/fix_65312
Adding Quobyte Tenant to QuobyteVolumeSource to enable deletion of persistent volumes
2019-02-05 12:08:37 -08:00
Antoine Pelisse
fcd4985ce4 Fix SubjectAccessReview Validation with ManagedFields 2019-02-04 13:51:49 -08:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Mayank Kumar
b03d0e31ad add positive ut for service account projection 2019-02-02 01:15:13 -08:00
Derek Carr
deae071d78 Graduate HugePages feature to GA 2019-02-02 00:21:10 -05:00
Kubernetes Prow Robot
30566b990a
Merge pull request #73645 from andrewsykim/remove-dep-node-addresses
move AddToNodeAddresses to k8s.io/cloud-provider/node/helpers
2019-02-01 18:29:29 -08:00
Kubernetes Prow Robot
235b32e8ad
Merge pull request #72832 from MrHohn/pod-dns-config-ga
Graduate CustomPodDNS feature to GA
2019-02-01 18:29:17 -08:00
Charles Eckman
e6c26da886
Address comment on TokenReview 2019-02-01 16:49:51 -08:00
Charles Eckman
48f7f6fb67
Fix typo, and note when BoundObjectRef isn't checked
- s/objet/object/
- A relying party (validating a token) may not have access to the
  resource named in the `BoundObjectRef`; only the API server can be asserted to
  have access.
  Note this in the field's documentation.
2019-02-01 16:49:46 -08:00
Andrew Kim
369fd95a9f move AddToNodeAddresses to k8s.io/cloud-provider/node/helpers
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-01 14:47:07 -05:00