Jordan Liggitt
802e765444
Preserve existing ephemeral containers on update, validate unconditionally
2019-08-02 20:00:01 -04:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
Wei Huang
49da505a9a
EvenPodsSpread: api changes
2019-07-18 17:34:26 -07: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
Khaled Henidak(Kal)
81468e2696
api: dropDisabledFields
2019-07-02 15:39:06 +00: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
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Lee Verberne
ee821e2a04
Create helpers for iterating containers in a pod
2019-06-21 08:32:04 +00:00
Eric Ernst
33713087f4
pod-overhead: drop from PodSpec based on feature-gate
...
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
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08: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
Vladimir Vivien
4ec7d2305d
CSI Inline Volume - API changes
2019-03-08 12:35:07 -05:00
Minhan Xia
562bc03cf6
promote PodReadinessGate feature to GA
2019-02-25 16:28:29 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
52d4500f23
Merge pull request #72714 from mourya007/features_gate
...
Move TokenRequestProjection feature gate out of validation
2019-01-11 15:53:51 -08:00
mourya007
d0b35d1b05
Move TokenRequestProjection feature gate out of validation
2019-01-11 00:49:30 +05:30
Rajath Agasthya
5de2d7694d
Remove Sysctls feature gate from validation
2019-01-09 18:56:11 -08:00
Kubernetes Prow Robot
49891cc270
Merge pull request #72698 from rajathagasthya/podsharepsnamespace-72651
...
Move PodShareProcessNamespace feature gate out of validation
2019-01-09 07:40:00 -08:00
Rajath Agasthya
86165ac878
Move pod ReadinessGates feature gate out of validation
2019-01-08 21:37:43 -08:00
Rajath Agasthya
4e1d4caa8f
Move PodShareProcessNamespace feature gate out of validation
2019-01-08 14:31:51 -08:00
Jordan Liggitt
cd4f626f66
Move AppArmor feature-gate checking out of validation
2019-01-07 15:10:11 -05:00
Jordan Liggitt
12dd768bee
Pass pod annotations into DropDisabledFields()
2019-01-07 14:44:20 -05:00
Zheng Dayu
d4c85e977f
Validation on RunAsGroup - Update DropDisabled[Alpha]Fields behaviour
2018-12-30 23:09:29 +08:00
Serguei Bezverkhi
5bf84db713
VolumeDevices validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 17:31:10 -05:00
Serguei Bezverkhi
4ad98db3c0
EmptyVolume SizeLimit validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 13:07:26 -05:00
Serguei Bezverkhi
587c5d7263
PodPriority validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-22 08:54:40 -05:00
Serguei Bezverkhi
1778d64a59
ProcMount validation and testing
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 14:43:52 -05:00
Serguei Bezverkhi
27a8967555
RuntimeClass validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-19 15:01:28 -05:00
Jordan Liggitt
de96583d8c
drop subpath from pod spec when the feature is disabled and the old spec did not use subpaths
2018-12-18 10:21:22 -05:00
Jordan Liggitt
e486d486b1
Plumb old pod spec into DropDisabledFields methods
2018-12-17 12:49:29 -05:00
Jordan Liggitt
49028df5f9
Rename DropDisabledFields
2018-12-17 12:08:25 -05:00
Fabio Bertinatto
6c9b854542
Remove mount propagation feature gate logic
2018-10-31 15:51:37 +01:00
Jess Frazelle
30dcca6233
ProcMount: add api options and feature gate
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-08-30 11:40:02 -04:00
Tim Allclair
4b8050e3fc
Address @thockin feedback
2018-08-23 13:14:49 -07:00
Tim Allclair
7f64bb649b
WIP: RC pods
2018-08-22 14:26:51 -07:00
Lee Verberne
81a5ff92df
Retain ShareProcessNamespace in pod storage
...
This field is no longer alpha, so don't drop it with the other alpha fields.
2018-07-24 15:55:09 +02:00
Davanum Srinivas
5fa8a2412d
API updates for Cinder Volumes to support for user specified Secrets in the future
2018-06-02 22:16:50 -04:00
Mayank Kumar
b888415ebf
API Changes for RunAsGroup and Implementation and e2e
2018-02-28 22:09:56 -08:00
Lee Verberne
2343600ccc
Kubernetes API for Shared Process Namespace
2018-02-21 19:02:15 +01:00
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Scott Creeley
36f30bc689
Add VolumeType api to PV and PVC
2017-11-18 11:25:27 -05:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Jan Safranek
876109a53c
Clear alpha MountPropagation fields.
...
According to api_changes.md, alpha fields must be cleared when corresponding
feature is disabled.
2017-09-04 10:40:54 +02:00
Jordan Liggitt
02281898f8
Clear values for disabled alpha fields
2017-09-01 14:34:01 -04:00
gmarek
0504cfbc25
Make metav1.(Micro)?Time functions take pointers
2017-08-17 11:24:28 +02:00
Simon Croome
5e2503e71f
Add StorageOS volume plugin
2017-06-09 13:19:27 +01:00
Jordan Liggitt
d609f4ebca
Add pod util for extracting referenced configmaps
2017-05-18 15:38:29 -04:00
Chao Xu
9837a98564
move resource_helpers.go to a subpackage
2017-04-13 12:03:42 -07:00
Klaus Ma
c2b629ee2a
Removed hostname/subdomain annotation.
2017-04-10 13:55:40 +08:00