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
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
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
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
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
260421499a
Merge pull request #80487 from huffmanca/BZ1731316
...
Corrected Cinder typos.
2019-08-01 13:38:15 -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
SataQiu
23b7ae6041
make taint.ToString() consistent with the reverse parsing logic
2019-07-16 21:06:01 +08: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
Ted Yu
cf7c164ae3
Restore early return for podSpecHasContainer
2019-06-26 14:17:13 +08: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
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
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
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
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
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
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
3ccb63bb1b
Merge pull request #78385 from thz/externalNameTrailingDot
...
Allow trailing dot for service.spec.externalName
2019-05-28 15:53:49 -07: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
Chao Xu
369314959c
generated
2019-05-24 18:14:53 -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
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
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
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
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
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
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
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
yue9944882
71a58de48b
clean up genclient tags for hub types
2019-04-24 16:53:21 +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
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
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
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
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
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
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -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
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
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
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00: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