Marek Biskup
88c70d2ae0
correct typo
2015-06-30 11:23:48 +02:00
Tim Hockin
08f66f04d6
Fix error message
2015-06-28 14:49:38 -07:00
Robert Bailey
54a3ebef3c
Merge pull request #10315 from nikhiljindal/invalidValue
...
Updating the "invalid value" error message to include the list of valid values
2015-06-26 10:46:59 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
nikhiljindal
3b3ee0ed77
Improving an error message
2015-06-25 13:08:09 -07:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Satnam Singh
3591a543d1
Merge pull request #9919 from liggitt/port_protocol_validation
...
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Satnam Singh
f02c685532
Merge pull request #10007 from feihujiang/improveCreateSchemaValidate
...
improve kubectl create --validate, aggregate errors and handle requir…
2015-06-19 11:43:44 -07:00
Jordan Liggitt
68a8a25494
Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1
2015-06-18 22:38:00 -04:00
Satnam Singh
59a96f1028
Merge pull request #9688 from liggitt/validate_pod_spec
...
Validate service account name in pod spec
2015-06-18 17:18:09 -07:00
feihujiang
a7b22e3773
Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.)
2015-06-18 20:13:17 +08:00
feihujiang
d5fcd9f153
improve kubectl create --validate, aggregate errors and handle require fields
2015-06-18 16:22:09 +08:00
Saad Ali
9da215e085
Merge pull request #9897 from derekwaynecarr/limit_range_validation
...
Add LimitRange range validation
2015-06-17 17:20:18 -07:00
markturansky
0a6b7b61ec
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 16:17:49 -04:00
Saad Ali
641f8d47d3
Merge pull request #9828 from caesarxuchao/remove-testdata-v1beta1
...
remove pkg/api/validation/testdata/v1beta1/*
2015-06-17 11:36:03 -07:00
derekwaynecarr
2518d8c0fc
Add LimitRange range validation
2015-06-17 10:24:31 -04:00
Jordan Liggitt
2b840279d9
Validate service account name in pod spec
2015-06-16 21:09:01 -04:00
Jordan Liggitt
ee4cd972e0
Validate port protocol case strictly
2015-06-16 20:28:11 -04:00
Chao Xu
d9e8939ae4
remove pkg/api/validation/testdata/v1beta1/*
2015-06-15 16:20:14 -07:00
Fabio Yeon
4e6bd63256
Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
...
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Filip Grzadkowski
cdc5034ce4
Fix error message for missing imagePullPolicy
2015-06-15 16:02:32 +02:00
Mike Danese
2bbb78d50a
actually return validation errors instead of just creating them
2015-06-10 12:45:10 -07:00
feihujiang
5867b5ce6b
remove useless glog.Infof
2015-06-10 11:02:28 +08:00
krousey
d7f7d84a5e
Merge pull request #9387 from jsdir/9340-signature
...
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
feihujiang
37abe11f8a
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 10:38:43 +08:00
Jason Sommer
aa892b7143
Replace meta with new
2015-06-08 17:06:56 -05:00
Jason Sommer
d59a8ff7f8
Improve signature consistency for ValidateObjectMetaUpdate
...
Fixes #9340
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Tim Hockin
1aa9b0b86a
Don't allow link-local Endpoints
2015-06-03 11:40:04 -07:00
Chao Xu
d52cef11a4
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-03 09:50:41 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Tim Hockin
da78ab6b63
Merge pull request #8740 from thockin/nix-portal
...
Rename "portalIP" to "clusterIP"
2015-05-28 16:52:02 -07:00
Kris Rousey
22b2c68c02
Update go-restful to get stable sorting in spec
...
This reverts commit 4a7071e7f7
.
2015-05-28 16:43:13 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
4a7071e7f7
Revert "Update go-restful to get stable sorting in spec"
2015-05-28 16:04:11 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Kris Rousey
05eaaa99e1
Update go-restful to get stable sorting in spec
2015-05-28 13:40:23 -07:00
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07:00
Justin Santa Barbara
19c0d82edc
Include the actual failing value in a validation error message
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
a271771341
Richer errors for validation
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
2197c8da5a
Add NodePort to ServicePort
...
We prevent it from being set by validation
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00