Commit Graph

929 Commits

Author SHA1 Message Date
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
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
Ihar Hrachyshka
43069ef565 Fixed comment to refer to the right int accessor for Quantity
It's AsInt64() not Int64().
2019-08-29 13:25:05 -07:00
Kubernetes Prow Robot
cd9519fe95
Merge pull request #82004 from pohly/ephemeral-beta
ephemeral inline CSI volumes as beta
2019-08-29 09:30:25 -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
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
Antoine Pelisse
39697519f4 Regenerate openapi-spec
Adds apply-patch content-type to openapi
2019-08-28 16:09:52 -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
Khaled Henidak(Kal)
c27e0b029d phase 2: generated items 2019-08-28 16:11:46 +00:00
Kubernetes Prow Robot
61e2f52e38
Merge pull request #81754 from apelisse/version-fields
Add FieldsType field to ManagedFields to track content format
2019-08-28 01:37:50 -07:00
Jordan Liggitt
5f319b18fa generated
Change-Id: Idf19b3d0b23b3436fe89b884cf487558ef18c7d3
2019-08-28 03:49:20 +00:00
Patrick Ohly
482a900e83 storage: make CSIInlineVolume a beta feature
The feature is complete and supported by an increasing number of CSI
drivers, but before it can be really used, it should be moved out of
alpha into beta.
2019-08-28 05:32:44 +02:00
Antoine Pelisse
cf06ad1e47 Regenerate all 2019-08-27 14:52:36 -07:00
Lee Verberne
04d8cc9303 Generated docs for ephemeral containers API 2019-08-27 16:25:05 +00:00
Kubernetes Prow Robot
36e0ea6bfa
Merge pull request #81682 from caesarxuchao/beta-remainingItemCount
promote the remainingItemCount field to beta
2019-08-26 20:54:40 -07:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices 2019-08-26 14:50:00 -07: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
Jordan Liggitt
078cb91791 generated
Change-Id: I6389f8d1eb169ab89b2f73b7c9f2b3d880a9a6bb
2019-08-24 22:20:35 -04:00
Kubernetes Prow Robot
3dbedefb80
Merge pull request #80773 from jennybuckley/fix-rawextension
Fix raw extension openapi definition
2019-08-22 17:33:20 -07:00
Chao Xu
f9f0132c76 promote the remainingItemCount field to beta 2019-08-21 13:58:40 -07:00
Haowei Cai
b61487962b generated 2019-08-20 14:31:02 -07:00
Jordan Liggitt
aa05715c0e generated 2019-08-16 13:13:40 -04:00
Kubernetes Prow Robot
e2e5a9e9b7
Merge pull request #80664 from thockin/document-port-names
Update docs for service/endpoints port names
2019-08-13 14:16:06 -07:00
Patrick Ohly
f7742fd31a storage: generated files for CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:11:42 +02:00
Anago GCB
0910ebfeee Kubernetes version v1.17.0-alpha.0 openapi-spec file updates 2019-08-13 11:57:13 +00: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
Tim Hockin
e1f8cdd9ad Update docs for service/endpoints port names 2019-08-12 14:52:16 -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
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
wojtekt
f0a8aecc46 autogenerated files 2019-08-07 16:50:27 +02:00
Jordan Liggitt
0a37724819 generated 2019-08-06 20:54:06 -04:00
liangxia
6d431fa05b Fix example urls 2019-08-05 11:45:52 +08:00
Kubernetes Prow Robot
9743d7f270
Merge pull request #80730 from jennybuckley/apply-raw
Use raw bytes instead of nested map in metav1.Fields
2019-08-01 20:11:52 -07: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
jennybuckley
ef30bd602f Update generated 2019-08-01 15:49:54 -07:00
Jordan Liggitt
308c23cf89 Generated 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
jennybuckley
1475b59c83 Update generated 2019-07-31 16:06:42 -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
Lee Verberne
4a753c7a44 Generated code for ephemeral containers API 2019-07-22 11:19:22 +00:00
Wei Huang
eafd4e96d9
EvenPodsSpread: auto-gen files 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
Kubernetes Prow Robot
5ece88c4c8
Merge pull request #74526 from DXist/feature/hpa-scale-to-zero
Support scaling HPA to/from zero pods for object/external metrics
2019-07-16 10:11:24 -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
wojtekt
72eadb167b Autogenerated files 2019-07-12 09:11:42 +02: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
Mike Danese
b9c7007ca0 enable token review when openapi is generated 2019-07-09 13:45:41 -07:00
Kubernetes Prow Robot
c8cee54240
Merge pull request #79391 from danwinship/nodeaddresses-update-fix
Don't use strategic merge patch on Node.Status.Addresses
2019-07-02 21:08:29 -07:00
Dan Winship
e6ca651bed Document the problem with Node.Status.Addresses and strategic merge patch 2019-07-02 19:16:29 -04:00
Khaled Henidak(Kal)
af552ab469 generated items 2019-07-02 22:26:26 +00:00
yue9944882
95ed42684c update openapi-spec 2019-06-28 19:34:38 +08:00
Johannes M. Scheuermann
94ce517212 Fix typo in network policy ingress rule 2019-06-26 19:27:09 +02:00
Fabio Bertinatto
b90ca5b2a7 Auto-generated code for volume limits API 2019-06-25 16:30:54 +02: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
Kubernetes Prow Robot
c7972d9a5e
Merge pull request #78553 from caesarxuchao/alpha-gate-remainingItemCount
Protecting remainingItemCount behind a feature flag. Also updating the API doc
2019-06-07 12:21:58 -07:00
Chao Xu
a64b3890e7 generated 2019-06-03 10:34:44 -07: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
6273a7af1c
Merge pull request #75744 from yastij/runtimeclass-scheduling-api
Introduce topology into the runtimeClass API
2019-05-31 07:12:57 -07: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
Joe Betz
939a04f0ed codegen: Add mutating admission webhook reinvocation 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
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
Kubernetes Prow Robot
b18846cf4c
Merge pull request #78426 from sttts/sttts-crd-conversion-beta
apiextensions: promote CRD conversion to beta
2019-05-30 02:24:18 -07:00
Kubernetes Prow Robot
3aecf4350e
Merge pull request #76915 from vladimirvivien/csi-inline-podsec-policy
CSI ephemeral - Enforcing pod security policy AllowedCSIDriver
2019-05-29 21:28:17 -07:00
Vladimir Vivien
d15ff34124 CSI inline generated file updates 2019-05-29 16:49:37 -04:00
Dr. Stefan Schimanski
993eaeccdf apiextensions: promote CustomResourceWebhookConversion to beta 2019-05-29 21:15:58 +02:00
Dr. Stefan Schimanski
cbd192041d Update generated files 2019-05-29 15:04:28 +02:00
Jordan Liggitt
8504a0e556 generated: AdmissionRegistration changes 2019-05-28 14:26:06 -04:00
Haowei Cai (Roy)
6a5fa6ca5b Allow CRD /scale labelSelectors to be under either status or spec (#78234)
* apiextensions API doc: allow labelSelectorPath to be under .status or .spec

* apiextensions validation: allow labelSelectorPath to be under .status or .spec

* test

* generated
2019-05-28 01:02:14 -07:00
Tim Allclair
2e384858f0 regenerate 2019-05-22 08:48:57 -07:00
Kubernetes Prow Robot
ae2a1628f6
Merge pull request #75459 from wk8/wk8/gmsa_beta
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
Kubernetes Prow Robot
76c214b259
Merge pull request #77843 from roycaihw/deletecollection-install-deleteoptions
Publish DeleteOptions parameters for deletecollection endpoints in OpenAPI spec
2019-05-17 23:21:13 -07:00
Dr. Stefan Schimanski
d10f8c1ad3 Update generated files 2019-05-17 09:35:10 +02: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
Anago GCB
23fb942ed7 Kubernetes version v1.16.0-alpha.0 openapi-spec file updates 2019-05-14 15:32:17 +00:00
Kubernetes Prow Robot
44301940ea
Merge pull request #77750 from sttts/sttts-structural-schema-false-XPreserveUnknownFields
apiextensions: forbid false x-kubernetes-preserve-unknown-fields
2019-05-13 21:49:22 -07:00
Haowei Cai
4a13c8bf43 generated 2019-05-13 16:19:03 -07:00
Dr. Stefan Schimanski
69c50a70f6 Update generated files 2019-05-13 23:16:22 +02:00
Elisiano Petrini
afe6d48303 Regenerated files 2019-05-11 18:06:43 -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
Dr. Stefan Schimanski
c836a25189 Update generated files 2019-05-09 21:40:43 +02: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
Chao Xu
d001a0fc86 generated 2019-05-06 14:16:19 -07: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
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
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
57c6eacdcf RuntimeClass PSP API generated files 2019-05-01 13:43: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
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
Tim Allclair
12bcbd9a74 Regenerate generated files 2019-04-23 17:26:13 -07: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
Kevin Taylor
bb5b4ad0b2 Beta upgrade for feature date VolumeSubpathEnvExpansion 2019-04-17 07:41:00 +01:00
Yassine TIJANI
e39d18f0c0 introduce topology into the runtimeClass API 2019-04-16 01:12:12 +02:00
wojtekt
b0ff8dd265 Autogenerated code 2019-04-15 09:45:04 +02: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
danielqsj
9c772a2855 update generated files 2019-03-30 14:52:50 +08:00
ajatprabha
63f4827fca
update openapi-spec 2019-03-12 17:00:41 +05:30
Antoine Pelisse
92d8b19c0f Generated files 2019-03-08 16:55:53 -08:00
Vladimir Vivien
d998fc8f0f CSI Inline Volume - Generated files 2019-03-08 12:39:58 -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
Mehdy Bohlool
cbe00023c0 Update generated files 2019-03-07 21:00:29 -08:00
Tim Allclair
428e9fa329 generated files 2019-03-07 11:57:12 -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
Kubernetes Prow Robot
6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
Jordan Liggitt
1d4655c8ef generated files
Change-Id: I5a43a4e1a601b85d21b551fcfc9fdbd16a095d06
2019-03-05 00:30:12 +00:00
Xing Yang
3260d3a7b5 Add generated files 2019-03-02 18:40:23 -08:00
Dr. Stefan Schimanski
5209f3af8d Update swagger.json 2019-03-01 18:11:45 +01:00
Kubernetes Prow Robot
e476ab63cc
Merge pull request #74596 from sttts/sttts-remove-postprocess-paths
openapi: remove postprocessing for old paths, deprecated in 1.9
2019-02-28 10:28:46 -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
Dr. Stefan Schimanski
1f2a4013bf Update openapi spec 2019-02-26 14:17:54 +01:00
Bobby (Babak) Salamat
66cf8c8982 generated files 2019-02-25 11:45:38 -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
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
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
f7f153e990 Mark extensions/v1beta1 Ingress deprecated 2019-02-20 23:32:46 -05: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
David Eads
b44409d3e4 generated 2019-02-20 11:10:49 -05:00
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
Anago GCB
016e9d5c06 Kubernetes version v1.15.0-alpha.0 openapi-spec file updates 2019-02-19 15:22:19 +00:00
Kubernetes Prow Robot
42b7bb1c18
Merge pull request #72300 from nsega/fix-broken-link
Fix broken list of 'Service/Publishing services - service types'
2019-02-18 21:32:08 -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
Ben Moss
34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Naoki Sega
550c91c99d Fix broken list of 'Service/Publishing services - service types' 2019-02-15 23:03:49 +09: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
Elijah Oyekunle
805a9e7036 Fixes Golint Errors: staging/src/k8s.io/kube-aggregator (#73369)
* fixed golint errors in staging/src/k8s.io/kube-aggregator

* update openapi

* unexported autoRegisterController
2019-02-11 14:16:05 -08:00
Dr. Stefan Schimanski
2fe54a144b Update openapi spec 2019-02-11 13:16:36 +01: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
5949154ec5 Run generation scripts 2019-02-04 13:51:49 -08:00
Kubernetes Prow Robot
46b2255e97
Merge pull request #73250 from liggitt/optional-rules
Mark rules field as optional
2019-02-01 14:32:03 -08:00
Brad Hoekstra
e8c75068f3 Document default value for enableServiceLinks 2019-02-01 09:12:46 -05:00
Chao Xu
3419adeaa3 generated BUILD
generated proto
2019-01-28 09:53:12 -08:00
Jordan Liggitt
c09ccc9b70 Mark rules field as optional 2019-01-23 23:59:23 -05:00
Jordan Liggitt
047ecae1f4 mark metadata.initializers as deprecated 2019-01-23 16:34:43 -05:00
Jordan Liggitt
17aa60686e Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options 2019-01-23 16:34:43 -05:00
Jordan Liggitt
dc1fa870bf Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-23 11:37:39 -05:00
Silvan Kaiser
cc71b0aebd Adding Tenant to QuobyteVolumeSource
Adds the tenant id to the QuobyteVolumeSource type and
updates the quobyte api client to support looking up
volume ids.
2019-01-22 14:42:12 +01:00
Kubernetes Prow Robot
ef2a5b948b
Merge pull request #72138 from dims/switch-location-for-goautoneg
Switch location for goautoneg vendored code
2019-01-18 14:42:46 -08:00
Davanum Srinivas
16fd72d6c9
Switch location for goautoneg vendored code
Move to github.com/munnerz/goautoneg as bitbucket is flaky!

Change-Id: Iaa6e964ef0d6f308eea59bcc6f365ecd7dbf0784
2019-01-15 21:22:03 -05:00
Jordan Liggitt
ef4983fb52 Update generated files 2019-01-15 13:33:06 -05:00
wojtekt
9664779bdd Autogenerated code 2018-12-20 20:22:11 +01:00
Jan Safranek
0c4b89fad6 Fix typo 2018-11-19 15:28:14 +01:00
k8s-ci-robot
ec2e767e59
Merge pull request #71167 from msau42/block-beta
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
Mike Danese
162699ca30 autogenerated 2018-11-16 17:54:33 -05:00
Matthew Wong
7a6acefd21 Generate code for BlockVolume beta promotion 2018-11-16 13:38:59 -05:00
Michelle Au
498cd61f41 Add volumeattachment status subresource 2018-11-14 14:01:16 +01:00
k8s-ci-robot
3c10143967
Merge pull request #60195 from humblec/glusterfs-pvspec-3
Refactor GlusterFS PV spec.
2018-11-08 00:24:39 -08:00
Anago GCB
a320766403 Kubernetes version v1.14.0-alpha.0 openapi-spec file updates 2018-11-07 21:10:14 +00:00
Haowei Cai
5b545bbc13 generated 2018-11-07 09:38:49 -08:00
Humble Chirammal
bdb051c72d Refactor GlusterFS PV spec.
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-06 15:51:01 +05:30
k8s-ci-robot
11706d3803
Merge pull request #67795 from mbohlool/crd_conversion_api_changes
CRD Conversion API Changes
2018-10-31 23:04:37 -07:00
Mehdy Bohlool
e27096cdb4 Update generated files 2018-10-31 14:47:13 -07:00
k8s-ci-robot
797f5afd2d
Merge pull request #70436 from liggitt/retain-keys
Fix retainKeys patchStrategy in apps/deployments
2018-10-31 10:32:17 -07:00
k8s-ci-robot
1dd7e6f65c
Merge pull request #70295 from caesarxuchao/ownerRef-nonnamespaced
Fixing comments on the OwnerReference
2018-10-30 16:16:18 -07:00
Chao Xu
1cc316f4dc Update comments on the OwnerReference to acknowledge that the owning
object can be cluster scoped.
2018-10-30 10:28:44 -07:00
Jordan Liggitt
e6a8b29554 Fix retainKeys patchStrategy in apps/deployments 2018-10-30 11:48:50 -04:00
Neha Yadav
adf7d4a2bd Generated changes for make body a optional parameter 2018-10-27 09:33:36 +05:30
k8s-ci-robot
3a680bc42d
Merge pull request #70100 from lavalamp/schema-fix
API Schema fix: container port keys
2018-10-25 04:01:25 -07:00
Jordan Liggitt
921c60d30f Generated files 2018-10-23 13:50:03 -04:00
Daniel Smith
fdd502c2ff generated files 2018-10-22 16:18:33 -07:00
Patrick Barker
b8e1250487 adds dynamic audit api generated 2018-10-16 13:07:27 +00:00
k8s-ci-robot
d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
fix some typos
2018-10-13 21:47:08 -07:00
SataQiu
e1d5b97f3f fix some typos 2018-10-12 22:29:18 +08:00
Mayank Kumar
bc3e3afc46 api changes for psp runasgroup policy 2018-10-09 17:32:09 -07:00
k8s-ci-robot
8fa5d386a1
Merge pull request #66605 from islinwb/default_RevisionHistoryLimit
Default extensions/v1beta1 Deployment's RevisionHistoryLimit to MaxInt32
2018-10-08 10:41:46 -07:00
Haowei Cai
6ef3647836 generated 2018-10-02 17:57:51 -07:00
k8s-ci-robot
dbba1a5384
Merge pull request #68864 from roycaihw/fix-rollback-doc
Fix openapi spec and api reference: posting a rollback returns a metav1.Status
2018-09-26 19:22:53 -07:00
Haowei Cai
9f78c45c01 generated 2018-09-19 17:35:42 -07:00
Brad Hoekstra
ac8799a80d kubelet: Make service environment variables optional 2018-09-17 16:27:36 -04:00
Xing Yang
897e3c8d11 Add generated files 2018-09-12 17:34:51 -07:00
Solly Ross
76bd48b140 Fix up potentially empty fields in HPA v2beta2
There were a few cases where fields that should have been marked optional
were not.  This was causing weird validation issues, but is now fixed.
2018-09-06 15:20:09 -04:00
Janet Kuo
1d6dd86407 Autogen API docs 2018-09-04 11:35:30 -07:00
NickrenREN
159a4358e8 auto generated files 2018-09-03 13:34:26 +08:00
Chao Xu
5273182321 generated 2018-08-31 17:56:12 -07:00
Jess Frazelle
1a4cf7a36e
make update
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-08-30 18:24:23 -04:00
Kubernetes Submit Queue
37b29297aa
Merge pull request #67432 from lichuqiang/topo_provision_beta
Automatic merge from submit-queue (batch tested with PRs 67745, 67432, 67569, 67825, 67943). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Move volume dynamic provisioning scheduling to beta

**What this PR does / why we need it**:

*  Combine feature gate VolumeScheduling and DynamicProvisioningScheduling into one
* Add allowedTopologies description in kubectl

**Special notes for your reviewer**:
Wait until related e2e and downside plugins are ready.

/hold

**Release note**:

```release-note
Move volume dynamic provisioning scheduling to beta (ACTION REQUIRED: The DynamicProvisioningScheduling alpha feature gate has been removed. The VolumeScheduling beta feature gate is still required for this feature)
```
2018-08-29 15:19:34 -07:00
lichuqiang
795b213455 generated files 2018-08-29 10:30:16 +08:00
Xing Yang
88d3d964e2 Re-generate files 2018-08-28 13:56:03 -07:00
Xing Yang
5a6c5b07a2 Address Tim's comments 2018-08-28 13:26:51 -07:00
Xing Yang
2a9cff2b03 Add generated files 2018-08-28 13:26:51 -07:00
Kubernetes Submit Queue
2eb14e3007
Merge pull request #64973 from nokia/k8s-sctp
Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). 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>.

SCTP support implementation for Kubernetes

**What this PR does / why we need it**: This PR adds SCTP support to Kubernetes, including Service, Endpoint, and NetworkPolicy.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #44485

**Special notes for your reviewer**:

**Release note**:

```release-note

SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy.  

```
2018-08-28 07:21:18 -07:00
Mike Dame
77d7f9cfa2 Generate files and modifications for autoscaling/v2beta2 and custom_metrics/v1beta2 2018-08-27 11:07:53 -04:00
Laszlo Janosi
5c7cc971f7 Doc update after *fetching* the upstream so the proper tags come down, too 2018-08-27 12:34:46 +00:00
Laszlo Janosi
f510a46db2 documents updated 2018-08-27 05:59:50 +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
Kubernetes Submit Queue
40063e8810
Merge pull request #67737 from tallclair/runtimeclass-podapi
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>.

Runtimeclass podapi

Adds (but doesn't implement) the RuntimeClass Pod API proposed in https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md

Based on the result (lazy consensus) of the alpha fields discussion on sig-architecture: https://groups.google.com/forum/#!topic/kubernetes-sig-architecture/y9FulL9Uq6A

For https://github.com/kubernetes/features/issues/585

**Special notes for your reviewer**:

**Release note**:
```release-note
RuntimeClass is a new API resource for defining different classes of runtimes that may be used to run containers in the cluster. Pods can select a RunitmeClass to use via the RuntimeClassName field. This feature is in alpha, and the RuntimeClass feature gate must be enabled in order to use it.
```

/sig node
/kind api-change
/priority important-soon
/milestone v1.12
2018-08-23 16:53:29 -07:00
Tim Allclair
f5cc053901 regenerate files 2018-08-23 13:32:10 -07:00
Tim Allclair
87164e0b32 Generated code 2018-08-22 17:00:53 -07:00
jennybuckley
c61eac7daa Update generated 2018-08-22 16:54:41 -07:00
Kenjiro Nakayama
811bdbdcbb auto generated code 2018-08-22 21:59:44 +09:00
Kubernetes Submit Queue
169bfbc7f5
Merge pull request #66102 from nikhita/add-optional-comment-tags
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>.

apiextensions: add optional comment tags

Adds `// +optional` comment tags to fields which are optional/omitempty for CRD types.

These tags are used for openapi generation:

0cf8f7e6ed/pkg/generators/openapi.go (L361-L362)

0cf8f7e6ed/pkg/generators/openapi.go (L81-L89)

**Release note**:

```release-note
NONE
```
2018-08-21 07:59:00 -07:00
Kubernetes Submit Queue
93ae5d2250
Merge pull request #67307 from jlegrone/feature/update-container-resources-ref
Automatic merge from submit-queue (batch tested with PRs 67347, 67307, 67358, 67364, 67385). 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>.

Update container resources reference link

**What this PR does / why we need it**:
Users are currently directed to documentation on `PersistentVolumeClaim` resources when looking for information on `Container` resources.  While this field is backed by the same type in both instances, [Managing Compute Resources for Containers](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) is more relevant in the `Container` context.

This is surfaced in at least two places:
- https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#container-v1-core
- `kubectl explain pod.spec.containers.resources`

**Release note**:

```release-note
NONE
```
2018-08-15 04:23:15 -07:00
Anago GCB
1ed3d4d1d1 Kubernetes version v1.13.0-alpha.0 openapi-spec file updates 2018-08-14 22:41:11 +00:00
Weibin Lin
84ff6c36b0 Autogen 2018-08-14 09:20:45 +08:00
Jacob LeGrone
2b3621a447
Autogen
1. hack/update-generated-protobuf.sh
2. hack/update-generated-swagger-docs.sh
3. hack/update-swagger-spec.sh
4. hack/update-openapi-spec.sh
5. hack/update-api-reference-docs.sh
2018-08-13 14:57:02 -04:00
Kubernetes Submit Queue
d745508cc0
Merge pull request #67201 from SneakyFish5/fix-link
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>.

fix OpenAPI link

**What this PR does / why we need it**:
Fix OpenAPI broken link

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-08-13 07:51:57 -07:00
SneakyFish5
7ee96c3a5b
fix OpenAPI link 2018-08-09 10:56:08 -05:00
Kubernetes Submit Queue
8ebc84e71d
Merge pull request #66507 from verb/pid-beta
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>.

Promote ShareProcessNamespace to beta

**What this PR does / why we need it**: The ability to configure PID namespace sharing per-pod was added as an alpha feature in 1.10. This promotes the feature to beta and makes the feature available by default.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
WIP #1615

**Special notes for your reviewer**:
/assign @yujuhong 

**Release note**:

```release-note
The PodShareProcessNamespace feature to configure PID namespace sharing within a pod has been promoted to beta.
```
2018-08-09 05:01:01 -07:00
Kubernetes Submit Queue
d1636b8019
Merge pull request #66807 from caesarxuchao/remove-connectrequest
Automatic merge from submit-queue (batch tested with PRs 66196, 67016, 66807, 67023). 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>.

Make admission webhooks conversion convert CONNECT body correctly

Fix #59759.

1. Make apiserver pass connectRequest.Options directly to the admission layer. All other information in rest.ConnectRequest is present in admission attributes.
2. Make the scope.Kind of pod/attach, pod/exec, pod/portforward, node/proxy, service/proxy to their respective options Kind, instead of the parent Kind.

I've tested it locally, the conversion is working correctly for "kubectl attach". I'll add e2e tests.

I'll keep this to myself until I add the tests, but cc @mikedanese @liggitt RE. https://github.com/kubernetes/kubernetes/pull/66633.
2018-08-07 11:44:10 -07:00
Jordan Liggitt
c31faf2509
document /watch prefix deprecation 2018-08-07 08:20:53 -04:00
Chao Xu
d89c8dd8c0 generated 2018-08-06 18:59:53 -07:00
Janet Kuo
4dadbb531a Autogen
1. hack/update-generated-protobuf.sh
2. hack/update-generated-swagger-docs.sh
3. hack/update-swagger-spec.sh
4. hack/update-openapi-spec.sh
5. hack/update-api-reference-docs.sh
2018-07-27 10:10:30 -07:00
Antoine Pelisse
623370f603 dry-run: Run generated commands 2018-07-23 14:07:19 -07:00
Lee Verberne
3acade424f Generated code for ShareProcessNamespace beta 2018-07-23 17:13:59 +02:00
Kubernetes Submit Queue
a74df596ab
Merge pull request #63418 from roycaihw/openapi-delete-path
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>.

Update openapi and doc to reflect 202 path in API server delete handler

**What this PR does / why we need it**:
Our API server returns 202 Accepted if a delete operation is asynchronous, but it is not reflected in our openapi spec and documentation. This PR adds 202 path in endpoint installer and updates our openapi spec and docs. The change in openapi spec may affect some clients that depend on the error paths. [Python client](e057f27306/kubernetes/client/api_client.py (L97-L102)) only depends on response type, which is not changed in this PR. Sending this PR to see if it breaks client-go. 

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref https://github.com/kubernetes/kubernetes/issues/33196

**Special notes for your reviewer**:

**Release note**:

```release-note
OpenAPI spec and documentation reflect 202 Accepted response path for delete request
```
2018-07-17 07:44:44 -07:00
Nikhita Raghunath
245c21b449
update generated files 2018-07-12 20:28:42 +05:30
Antoine Pelisse
4bfd5ec41f dry-run: Run generate commands for new Options types 2018-07-12 07:31:45 -07:00
Haowei Cai
9ad6d72221 generated 2018-07-11 15:07:39 -07:00
Kubernetes Submit Queue
3a3d6564b6
Merge pull request #66047 from krunaljain/bugfix/csi_default_fs_type
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>.

Fixing comments in types.go to describe the changes for CSI driver default FS type override fix

This PR fixes the comment in types.go which was made in the commit 5dfe7b5758 
In the above commit,  the change that fixed the override of default FSType for CSI driver was made. However the comments in types.go were made for   GCEPersistentDiskVolumeSource and RBDVolumeSource respectively. This commit fixes that comment to reflect the changes for CSI driver

```release-note
none
```
2018-07-10 18:45:32 -07:00
Krunal Jain
bab7781a71 Adding generated files 2018-07-10 15:52:23 -07:00
Kubernetes Submit Queue
3b269e182d
Merge pull request #65499 from krunaljain/bugfix/csi_default_fs_type
Automatic merge from submit-queue (batch tested with PRs 55023, 65499). 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>.

Bugfix/csi default fs type

This PR address the issue mentioned in the following ticket https://github.com/kubernetes/kubernetes/issues/65122 
The FSType string will now not be defaulted to ext4. Removes defaulting of CSI file system type to ext4. CSI plugins that depended on this default need to be updated as the fsType would remain an empty string if not provided and would not default to ext4. CSI spec allows for an empty fstype string. This is intended for non-block plugins like nfs and gluster where filesystems are not separately created on the volume. But currently the default file system is overridden to ext4  which makes the above case redundant. This commit prevents such an overridding. 


```release-note  
ACTION REQUIRED: Removes defaulting of CSI file system type to ext4. All the production drivers listed under https://kubernetes-csi.github.io/docs/Drivers.html were tested and work as expected after this change. If you are using a driver not in that list, please test the drivers on an updated test cluster first. ```
2018-07-10 10:18:08 -07:00
Krunal Jain
fb28a1dd28 Adding generated files 2018-06-28 16:48:53 -07:00
Hemant Kumar
063eee7a39 Fix comments about default mount propagation
Fix generated docs as well
2018-06-28 17:04:41 -04:00
wojtekt
0950084137 Autogenerated stuff 2018-06-27 13:31:10 +02:00
Kubernetes Submit Queue
32c3ffa19e
Merge pull request #63837 from roycaihw/fix-rollback-return-object
Automatic merge from submit-queue (batch tested with PRs 65377, 63837, 65370, 65294, 65376). 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>.

Fix openapi spec: posting a rollback returns a deploymentstatus

**What this PR does / why we need it**:
Fix openapi spec and documentation. Posting a rollback doesnt return a rollback object, it instead returns a deployment status.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref #56591 

**Release note**:

```release-note
NONE
```

/sig api-machinery
/sig apps
2018-06-22 16:16:08 -07:00
Kubernetes Submit Queue
3ab6ced72b
Merge pull request #65260 from dixudx/fix_ScaleIOVolumeSource_spec
Automatic merge from submit-queue (batch tested with PRs 65064, 65218, 65260, 65241, 64372). 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>.

Fix scale io volume source spec

**What this PR does / why we need it**:
> FSType 
Implicitly inferred to be "ext4" if unspecified.

Actually the default value to "xfs".

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
None
```
2018-06-21 21:12:16 -07:00
Jordan Liggitt
f78230881c
stop returning invalid json fields in CRD OpenAPI schemas 2018-06-20 16:22:20 -04:00
Di Xu
871673f51b auto-generated files 2018-06-20 13:34:50 +08:00
Jan Chaloupka
3cc15363bc Run make update 2018-06-06 00:12:40 +02:00
Kubernetes Submit Queue
f73101066a
Merge pull request #58647 from oracle/for/upstream/master/hostpath-psp-readonly
Automatic merge from submit-queue (batch tested with PRs 64344, 64709, 64717, 63631, 58647). 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 support for enforcing read only host paths in PSPs. 

**What this PR does / why we need it**:

This PR adds support for the PSP to enforce that host paths are readonly. 

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #57371
xref https://github.com/kubernetes/features/issues/5

**Special notes for your reviewer**:

**Release note**:

```release-note
PodSecurityPolicy now supports restricting hostPath volume mounts to be readOnly and under specific path prefixes
```

/cc @ericchiang @liggitt
2018-06-05 02:16:21 -07:00
lichuqiang
20654393ee generated files 2018-06-05 09:44:10 +08:00
Josh Horwitz
c7fbcf35da Add support for enforcing read only host paths in PSPs. 2018-06-04 19:10:37 -04:00
vikaschoudhary16
3cfe6412c7 Introduce priority class in the resource quota 2018-06-04 16:14:54 -04:00
Davanum Srinivas
877b801531 Updated generated files 2018-06-02 22:20:39 -04:00
Minhan Xia
bfa9c1091e make update 2018-06-01 16:19:15 -07:00
Clayton Coleman
dcabc3026d
Update pod phase documentation 2018-06-01 00:34:52 -04:00
Kubernetes Submit Queue
26caa84d09
Merge pull request #63445 from ericchiang/deprecate-git-repo-volume
Automatic merge from submit-queue (batch tested with PRs 63445, 63820). 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>.

core v1: deprecate the gitRepo volume type

gitRepo stopped accepting new features nearly 2 years ago https://github.com/kubernetes/kubernetes/issues/17676#issuecomment-228650586 and today this behavior can easily be achieved through an init container. The kubelet shelling out to git in the host namespace can also be a security issue on un-trusted repos, as was demonstrated by [CVE-2017-1000117](https://groups.google.com/forum/#!topic/kubernetes-announce/CTLXJ74cu8M). Our own documentation even alludes to this volume type being removed in the future:

> In the future, such volumes may be moved to an even more decoupled model, rather than extending the Kubernetes API for every such use case.

https://kubernetes.io/docs/concepts/storage/volumes/#gitrepo

Closes https://github.com/kubernetes/kubernetes/issues/60999

```release-note-action-required
The GitRepo volume type is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
```

/release-note-action-required

Instead of this:

```yaml
apiVersion: v1
kind: Pod
metadata:
  name: server
spec:
  containers:
  - image: nginx
    name: nginx
    volumeMounts:
    - mountPath: /mypath
      name: git-volume
  volumes:
  - name: git-volume
    gitRepo:
      repository: "git@somewhere:me/my-git-repository.git"
      revision: "22f1d8406d464b0c0874075539c1f2e96c253775"
```

Do this:

```yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: git-clone
data:
  git-clone.sh: |
    #!/bin/sh -e
    git clone $1 $3
    cd $3
    git reset --hard $2
---
apiVersion: v1
kind: Pod
metadata:
  name: server
spec:
  initContainers:
  - name: git-clone
    image: alpine/git # Any image with git will do
    command:
    - /usr/local/git/git-clone.sh
    args:
    - "https://somewhere/me/my-git-repository.git"
    - "22f1d8406d464b0c0874075539c1f2e96c253775"
    - "/mypath"
    volumeMounts:
    - name: git-clone
      mountPath: /usr/local/git
    - name: git-repo
      mountPath: /mypath
  containers:
  - image: nginx
    name: nginx
    volumeMounts:
    - mountPath: /mypath
      name: git-volume
  volumes:
  - name: git-volume
    emptyDir: {}
  - name: git-clone
    configMap:
      name: git-clone
      defaultMode: 0755
```
2018-05-31 16:20:07 -07:00
Eric Chiang
f8f5f045a7
generated: update generated API files
Commands run:

	./hack/update-api-reference-docs.sh
	./hack/update-generated-protobuf.sh
	./hack/update-generated-swagger-docs.sh
	./hack/update-openapi-spec.sh
	./hack/update-swagger-spec.sh
2018-05-30 16:52:42 -07:00
Mike Danese
514d280e2f autogenerated 2018-05-30 11:06:58 -07:00
Dr. Stefan Schimanski
96475ce209 Update generated files 2018-05-28 10:56:58 +02:00
Haowei Cai
5ebcdb33ff generated 2018-05-25 17:13:44 -07:00