Matt McNaughton
90d68a53b3
Rename Positive qualifier to Nonnegative
...
It makes more sense for `ValidatePositiveField` and
`ValidatePositiveQuantity` methods to be named `ValidateNonnegativeField`
and `ValidateNonnegativeQuantity` as that is what is truly being
checked. This commit simply updates the method names everywhere they are
used.
2016-01-18 17:29:15 -05:00
Paul Morie
394a7bb4d0
Regen for secrets in env
2016-01-18 12:32:32 -05:00
Chao Xu
9d23d75071
Merge pull request #19499 from caesarxuchao/scale-client-gen
...
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
Chao Xu
b8be5e1340
generate client for scale, which has only the expansion interface
2016-01-14 12:14:00 -08:00
Paul Morie
17c8c8f9fc
Regenerate for configMap in env
2016-01-14 10:40:56 -05:00
Michal Minar
3188e123a9
Add missing field label conversions
...
Added missing field labels conversion functions for kinds:
- ConfigMap
- DaemonSet
- Deployment
- Endpoints
- Event
- Ingress
- Job
- PersistentVolume
- PersistentVolumeClaim
- ResourceQuota
- Secret
- Service
Completed conversion functions of few other kinds:
- Namespace
- ServiceAccount
Added tests suite for the above.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-01-14 10:00:45 +01:00
k8s-merge-robot
9e66a8f134
Merge pull request #18855 from deads2k/gv-stop-reverse
...
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
Salvatore Dario Minonne
172d7ee32c
to fix comment for apis.extensions.JobCondition
2016-01-11 11:07:50 +01:00
deads2k
e2d280a592
external versions no longer need reordering
2016-01-04 15:07:54 -05:00
Clayton Coleman
4d672c37b8
Updated conversions to be public
2015-12-29 10:40:38 -05:00
k8s-merge-robot
fec5206f1a
Merge pull request #13840 from nelcy/master
...
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
k8s-merge-robot
500493a3ac
Merge pull request #18925 from caesarxuchao/refactor-registration
...
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
Chao Xu
ad484c79f7
pass runtime.Scheme as parameter to AddToScheme
2015-12-23 23:21:35 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Clayton Coleman
11af69da78
Ensure DeleteOptions is registered to other groups
...
The version of DeleteOptions supported by v1beta1 extensions and
v1alpha1 metrics is the v1 core group version.
2015-12-22 14:29:15 -05:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
k8s-merge-robot
3c3a24e1d4
Merge pull request #18694 from thockin/airplane_validation_pt7
...
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
730a6a1d55
Merge pull request #18685 from caesarxuchao/client-gen-output
...
Auto commit by PR queue bot
2015-12-18 10:55:05 -08:00
Tim Hockin
0fecf965b4
Change how one-of blocks are validated
...
I took a hard look at error output and played until I was happier. This now
prints JSON for structs in the error, rather than go's format.
Also made the error message easier to read.
Fixed tests.
2015-12-18 09:42:14 -08:00
Tim Hockin
43ed74748e
Clean up and document validation strings
...
Also add a detail string for Required and Forbidden. Fix tests.
2015-12-18 09:40:50 -08:00
Tim Hockin
27fc14000d
audit validation errors to not double-print field names
2015-12-18 09:06:02 -08:00
Chao Xu
b61c9a4cf3
output of client-gen
2015-12-17 23:42:16 -08:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
Eric Tune
1965fe1824
Rerun hack/update-codecgen.sh
2015-12-17 13:51:33 -08:00
Eric Tune
1752cf22d4
Merge pull request #17940 from soltysh/job_deadline
...
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Maciej Szulik
327c104460
Added ActiveDeadlineSeconds to jobs, allowing failing a job after
...
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
k8s-merge-robot
46c2df3e05
Merge pull request #17483 from brendandburns/kubectl5
...
Auto commit by PR queue bot
2015-12-16 21:57:33 -08:00
k8s-merge-robot
ff2f127a9d
Merge pull request #18483 from brendandburns/3rdparty3
...
Auto commit by PR queue bot
2015-12-16 20:39:09 -08:00
Brendan Burns
2efcccf981
Add a server side export facility
2015-12-16 15:01:13 -08:00
Tamer Tas
70ac1366f8
Regenerate for ConfigMap
2015-12-16 11:19:59 -05:00
Tamer Tas
c798a6ef01
ConfigMap resource and its REST implementation
2015-12-16 11:19:26 -05:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
k8s-merge-robot
e309583ff1
Merge pull request #18473 from smarterclayton/change_runtime_object
...
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
deads2k
7a83ce60e6
refactor group registration
2015-12-15 08:37:07 -05:00
Brendan Burns
9f7199d5bb
Clean up some dead code.
2015-12-14 20:19:44 -08:00
Brendan Burns
4bd234b679
Correct a typo in the json/yaml tags for 3rd party objects.
2015-12-14 20:18:49 -08:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
8a76c1932f
Regenerate auto-generated files
2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
k8s-merge-robot
51e8c2e5f8
Merge pull request #17841 from mqliang/constant
...
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
David Oppenheimer
725a84ffe0
Merge pull request #18157 from sdminonne/LabelSelector_internalSelector
...
renaming labels.LabelSelector to labels.internalSelector
2015-12-13 20:03:49 -08:00
k8s-merge-robot
47d2f41680
Merge pull request #18370 from deads2k/gv-interfacesfor
...
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -05:00
Tim Hockin
7fb8f60735
Shorten names for better reading
2015-12-10 11:48:19 -08:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
k8s-merge-robot
5f7019ab9d
Merge pull request #16877 from anish/iscsi_iface
...
Auto commit by PR queue bot
2015-12-09 11:52:37 -08:00
k8s-merge-robot
85789f319f
Merge pull request #18103 from deads2k/gv-remove-groupmetaVersion
...
Auto commit by PR queue bot
2015-12-08 23:31:52 -08:00
Anish Bhatt
6e46fa1fd4
Add support for open-iscsi transports.
...
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".
Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
mqliang
0fd51b9e72
make 'deployment.kubernetes.io/podTemplateHash' as constant
2015-12-05 11:17:12 +08:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
Salvatore Dario Minonne
3288ce0dcb
renaming labels.LabelSelector to labels.internalSelector
2015-12-04 09:21:33 +01:00
Tim Hockin
0fe29232eb
Remove obsolete ErrorList Prefix logic
2015-12-03 08:19:52 -08:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
deads2k
675d8a235e
remove Versions from GroupMeta
2015-12-02 16:16:36 -05:00
k8s-merge-robot
727412c5ce
Merge pull request #15533 from ZJU-SEL/git-volume
...
Auto commit by PR queue bot
2015-12-01 13:14:23 -08:00
Harry Zhang
70a9c0bf56
Add directory in GitRepo and updated tests.
...
Update validate and gitRepo
Update generated code
2015-12-02 00:20:38 +08:00
k8s-merge-robot
a836b1e261
Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
...
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
k8s-merge-robot
140df5f809
Merge pull request #17220 from kargakis/kubectl-scale-deployments
...
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
Clayton Coleman
e9e02bdd50
Review comments
2015-11-26 11:53:38 -05:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
Clayton Coleman
af7e7f146d
Generated code
2015-11-26 11:53:36 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
k8s-merge-robot
fc694ea787
Merge pull request #16725 from wojtek-t/update_ugorji
...
Auto commit by PR queue bot
2015-11-25 22:14:20 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
deads2k
68b0572974
internal versions
2015-11-25 12:14:06 -05:00
Wojciech Tyczynski
58062bc347
Regenerate files
2015-11-25 12:34:05 +01:00
Michail Kargakis
99fc35880b
kubectl: Support scaling deployments
...
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
k8s-merge-robot
431c67710b
Merge pull request #17247 from thockin/airplane_validation_pt3
...
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
deads2k
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -05:00
Janet Kuo
c0c02c95c4
kubectl run to produce deployment and job
2015-11-24 10:21:31 -08:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79
Stronger typing for validation ErrorList
2015-11-23 10:01:43 -08:00
Tim Hockin
f8ad75df44
Clarify invalid vs not-supported
2015-11-23 08:07:17 -08:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
d64d1fbb3d
s/ValidationError/Error/
2015-11-22 20:12:46 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
Wojciech Tyczynski
8594c20333
Merge pull request #16677 from DirectXMan12/feature/add-scale-validator
...
[WIP] Add Validators for Scale Objects
2015-11-20 12:03:45 +01:00
Solly Ross
e5ef9e1406
Add Validators for Scale Objects
...
This commit introduces a validator for use with Scale updates.
The validator checks that we have > 0 replica count, as well
as the normal ObjectMeta checks (some of which have to be
faked since they don't exist on the Scale object).
2015-11-18 13:53:56 -05:00
k8s-merge-robot
cd236c32c8
Merge pull request #17203 from brendandburns/fix3
...
Auto commit by PR queue bot
2015-11-17 07:08:42 -08:00
k8s-merge-robot
125ab2cad1
Merge pull request #17232 from deads2k/gv-restmapping-2
...
Auto commit by PR queue bot
2015-11-17 03:33:24 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
deads2k
303bcad398
use groupversion in RESTMapping
2015-11-16 09:22:11 -05:00
Brendan Burns
749d5932f4
Switch to using the real metadata validate function
2015-11-13 15:29:34 -08:00
Mike Danese
066d13d047
autogenerated
2015-11-13 10:37:46 -08:00
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
eulerzgy
501c2825cf
Make order of fun consistent
2015-11-10 17:43:54 +08:00
Tim St. Clair
1e88a682da
Add liveness/readiness probe parameters
...
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state
This commit includes to changes in behavior:
1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
deads2k
fd1c8e096a
eliminate cross-namespace HPA escalation attack
2015-11-03 08:05:26 -05:00
Mike Danese
6bbc2448c9
autogenerated
2015-10-28 00:13:40 -07:00
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
k8s-merge-robot
fea0a7d753
Merge pull request #15850 from mqliang/refactorValidation
...
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
mqliang
57faaf4f96
refactor validation.go to avoid duplicating
2015-10-23 14:23:55 +08:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Paul Morie
393e2bc019
Inline some SecurityContext fields into PodSecurityContext
2015-10-21 19:01:17 -04:00
Sami Wagiaalla
030f882f06
Add Support for supplemental groups
2015-10-20 12:44:32 -04:00
Mike Danese
ac5524d84d
Merge pull request #14496 from kargakis/deep-copies-fix
...
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
k8s-merge-robot
3ee1c58756
Merge pull request #15773 from mqliang/BE1-ErrMsg
...
Auto commit by PR queue bot
2015-10-19 00:37:19 -07:00
Clayton Coleman
e929baf91a
Support stdinOnce, which allows run-once STDIN injection
...
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00
k8s-merge-robot
35e4c64034
Merge pull request #15646 from mikedanese/ds
...
Auto commit by PR queue bot
2015-10-16 12:37:09 -07:00
mqliang
b6f19b140e
fix validation for HorizontalPodAutoscalerSpec
2015-10-16 18:32:57 +08:00
Wojciech Tyczynski
d51965bf00
Autogenerate files.
2015-10-16 10:20:02 +02:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
Mike Danese
5f55be5dc1
autogenerated api changes
2015-10-15 07:42:57 -07:00
Mike Danese
29c50cdc1a
plumb PodSelector through the api
2015-10-15 07:42:57 -07:00
k8s-merge-robot
351cc2040e
Merge pull request #15491 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-15 06:04:38 -07:00
k8s-merge-robot
081f05c207
Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
...
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Prashanth Balasubramanian
5ab8d1e9ba
Ingress scrub
2015-10-14 14:24:25 -07:00
derekwaynecarr
eae56c3b2d
Add status subresource to Ingress
2015-10-14 14:36:29 -04:00
Mike Danese
94f793d10b
use correct function to validate daemonset name
2015-10-14 10:41:08 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Dawn Chen
593878f1d2
Merge pull request #15350 from mikedanese/gls-api
...
add generalized label selector to the experimental API
2015-10-12 16:24:21 -07:00
Dawn Chen
00eb2e7bfc
Merge pull request #15267 from nikhiljindal/deploymentRCSelector
...
Deployment: Fixing the selector for new RC created by deployment
2015-10-12 14:40:30 -07:00
Mike Danese
3645d2f02b
add generalized label selector to the experimental API
2015-10-12 14:03:08 -07:00
nikhiljindal
0829bcc8fc
Defaulting deployment selector and label
2015-10-12 11:00:29 -07:00
derekwaynecarr
3c012db30f
Add status subresource to HorizontalPodAutoscaler
2015-10-12 11:27:56 -04:00
kargakis
ef36b3e4f6
deep-copies: Structs cannot be nil
2015-10-12 15:21:30 +02:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
2816eb0f8a
run update-generated-conversions
2015-10-09 15:42:00 -07:00
Chao Xu
4b7344919b
manual fix package name
2015-10-09 15:41:29 -07:00
Chao Xu
3b178542b6
manual fix of v1beta1/conversions.go
2015-10-09 15:36:08 -07:00
Chao Xu
c9ad3e20b5
_experimental_ -> _extenstions_
2015-10-09 15:17:38 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
138eeaef8c
v1alpa1->v1beta1
2015-10-09 15:11:01 -07:00
Chao Xu
347d53ff2e
v1alpa1->v1beta1
2015-10-09 15:06:28 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
Chao Xu
983f056514
move folders
2015-10-09 14:57:44 -07:00