Commit Graph

6723 Commits

Author SHA1 Message Date
Odin Ugedal
35cb87f9cf Fix file permissions for non executable files
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-14 21:04:50 +02:00
Kubernetes Prow Robot
9f1548cdd9 Merge pull request #78656 from liggitt/compatibility-test-cleanup
Add helper script to regenerate API compatibility data, testdata README
2019-06-14 11:53:15 -07:00
Kubernetes Prow Robot
7abf2832bf Merge pull request #78614 from liggitt/remove-beta-e2e-use
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
28f1ebe53b Merge pull request #78591 from caesarxuchao/crd-object-selector
Unit tests that make sure object selector works with CRD
2019-06-14 07:58:24 -07:00
Kubernetes Prow Robot
eae93f9c7a Merge pull request #76513 from vladimirvivien/create-update-delete-dynamic-example
Create-update-delete-deployment example using dynamic package
2019-06-14 02:50:25 -07:00
Kubernetes Prow Robot
a52e08a2df Merge pull request #74018 from JoeWrightss/patch-1
remove redundant words 'the' in comment
2019-06-13 19:12:32 -07:00
Kubernetes Prow Robot
c6bc1639c3 Merge pull request #72178 from dims/remove-ovirt-photon-cloudstack-cloud-providers
Remove ovirt/cloudstack/photon cloud providers
2019-06-13 19:12:19 -07:00
Davanum Srinivas
e07bd594da Fix failure in ciphersuites_flag_test
Change-Id: I5cd0d7f21cad13712c3ad22d433124532a837f37
2019-06-13 09:42:51 -04:00
Krzysztof Siedlecki
7dcec919a2 Revert "Bump klog to v0.3.2" 2019-06-12 10:27:41 +02:00
Doug MacEachern
55ef6ecda9 vSphere: allow SAML token delegation
Issue #77360
2019-06-10 16:07:31 -07:00
Davanum Srinivas
e0821ca3dd Remove ovirt/cloudstack/photon cloud providers
Change-Id: Iddb80bdc2a9d75d444b8a3cfe0b142acb78e9097
2019-06-10 12:50:53 -04:00
Kubernetes Prow Robot
3a50c00692 Merge pull request #78788 from sttts/sttts-crd-embedded-resource
apiextensions: validate x-kubernetes-embedded-resource in CRs
2019-06-10 09:01:11 -07:00
Dr. Stefan Schimanski
d86cc85448 Update generated files 2019-06-10 16:33:45 +02:00
Dr. Stefan Schimanski
4bf994c736 apiextensions: forbid x-kubernetes-embedded-resource inside of resource meta fields 2019-06-10 16:33:45 +02:00
Dr. Stefan Schimanski
e2fd72ca84 apiextensions: do not check for pruned defaults under metadata 2019-06-10 16:33:39 +02:00
Dr. Stefan Schimanski
d06827afa5 apiextensions: remove dead patternPropertiers+additionalItems validation code 2019-06-10 16:33:39 +02:00
Dr. Stefan Schimanski
ad7eede3c7 apiextensions: require structural schema for x-kubernetes-* extensions 2019-06-10 16:33:39 +02:00
Dr. Stefan Schimanski
fca2f71a96 apiextensions: forbid additionalProperties at embedded resource root 2019-06-10 12:11:47 +02:00
Jordan Liggitt
d6c480122f apiextensions: unfold x-kubernetes-embedded-resource in publishing
Co-authored-by: Haowei Cai <haoweic@google.com>
2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
f590120d0f apiextensions: fix pruning inside additionalProperties 2019-06-10 11:22:21 +02:00
Jordan Liggitt
3f7c6294f0 apiextensions: restrict spec of x-kubernetes-embedded-resource fields 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
e69f44e28b apiextensions: add x-kubernetes-embedded-resource integration tests 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
35054fa7ec apiextensions: validate x-kubernetes-embedded-resource in CRs 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
f1bc7b69a8 apiextensions: don't prune meta fields with x-kubernetes-embedded-resource 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
3cd511b86c apiextensions: add x-kubernetes-embedded-resource wiring to handler 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
b51c800c16 apiextensions: check embedded resources in default values 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
8fc42ed116 apiextensions: implement x-kubernetes-embedded-resource algorithm 2019-06-10 11:22:21 +02:00
Dr. Stefan Schimanski
b807def8d9 apiextensions: move ObjectMeta coercion into own package 2019-06-10 11:22:21 +02:00
Kubernetes Prow Robot
5fe910191a Merge pull request #78815 from sttts/sttts-crd-int-or-string-validation
apiextensions: validate x-kubernetes-int-or-string in CRs
2019-06-08 14:29:05 -07:00
Dr. Stefan Schimanski
bfa4b66bc9 apiextensions: implement x-kubernetes-int-or-string validation 2019-06-08 22:06:31 +02: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
Kubernetes Prow Robot
59594523c8 Merge pull request #78700 from andyzhangx/azuredisk-detach-retry
fix: retry detach azure disk issue
2019-06-07 05:12:00 -07:00
Kubernetes Prow Robot
f3f2b4066b Merge pull request #78713 from liggitt/crd-status-conversion-error
Set expected in-memory version when decoding unstructured objects from etcd
2019-06-06 10:48:13 -07:00
Jordan Liggitt
a3bb81ff32 Ensure defaulting applies to custom resource items in list response 2019-06-06 09:17:31 -04:00
Jordan Liggitt
932553a08c Set expected in-memory version when decoding unstructured objects from etcd 2019-06-05 21:32:09 -04:00
Joe Betz
084c52551b Fix admission metrics to use bucket sizes matching metric unit 2019-06-05 10:35:36 -07:00
Joe Betz
e51320f69d Flake fix: poll for webhook registration to complete in reinvocation integration tests 2019-06-04 15:52:55 -07:00
andyzhangx
91f97d2edd fix: update vm if detach a non-existing disk
fix gofmt issue
2019-06-04 17:02:08 +00:00
Vladimir Vivien
103c71a2b5 Create-update-delete-deployment example using dynamic package 2019-06-04 10:53:15 -04:00
Jordan Liggitt
8229af31d2 Move test/e2e use to v1 APIs 2019-06-03 14:46:08 -04:00
Chao Xu
a64b3890e7 generated 2019-06-03 10:34:44 -07:00
Chao Xu
1ad5cb5bb1 Protect remainingItemCount behind a feature flag. Also updating the API doc 2019-06-03 10:34:44 -07:00
Jordan Liggitt
191b87c629 Add readme for API compatibility data 2019-06-03 12:04:12 -04:00
Jordan Liggitt
fcea91c165 Update expected AdmissionReview
--- FAIL: TestCompatibility/admission.k8s.io.v1beta1.AdmissionReview/v1.14.0 (0.02s)
            compatibility.go:460: json differs
            compatibility.go:461:   strings.Join({
                  	... // 31 identical lines
                  	`    "object": {"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}},`,
                  	`    "oldObject": {"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}},`,
                - 	`    "dryRun": true`,
                + 	`    "dryRun": true,`,
                + 	`    "options": null`,
                  	"  },",
                  	`  "response": {`,
                  	... // 33 identical lines
                  }, "\n")

            compatibility.go:466: yaml differs
            compatibility.go:467:   strings.Join({
                  	... // 23 identical lines
                  	"      available: 1",
                  	"  operation: 祈¡ıŵDz廔ȇ{sŊƏp饏姥呄鐊",
                + 	"  options: null",
                  	"  resource:",
                  	`    group: "5"`,
                  	... // 38 identical lines
                  }, "\n")

            compatibility.go:472: proto differs
            compatibility.go:474:   strings.Join({
                  	... // 37 identical lines
                  	"    }",
                  	"    11: 1",
                + 	`    12: ""`,
                + 	`    15: ""`,
                  	"  }",
                  	"  2 {",
                  	... // 36 identical lines
                  }, "\n")

Null `options` in json and additional proto tag 12 caused by https://github.com/kubernetes/kubernetes/pull/77563#discussion_r282803268

Proto tag 15 caused by https://github.com/kubernetes/kubernetes/pull/78135/files#diff-3bc4acaf71b6b50648da046287017c54R82
2019-06-02 00:18:58 -04:00
Jordan Liggitt
fa43686543 Update expected ListOptions
--- FAIL: TestCompatibility/core.v1.ListOptions/v1.14.0 (0.02s)
            compatibility.go:472: proto differs
            compatibility.go:474:   strings.Join({
                  	... // 10 identical lines
                  	"  7: 6780787122834727873",
                  	`  8: "5"`,
                + 	"  9: 0",
                  	"}",
                  	`3: ""`,
                  	... // 2 identical lines
                  }, "\n")

Caused by https://github.com/kubernetes/kubernetes/pull/74074/files#diff-eca3b8d856fa2e661f6da91b61de5e76R364
2019-06-02 00:18:58 -04:00
Jordan Liggitt
942005493d Generate bazel 2019-06-02 00:18:57 -04:00
Jordan Liggitt
64f4b0e4af Compatibility data: v1.14.0 2019-06-02 00:18:57 -04:00
Jordan Liggitt
3a817632d4 Compatibility data: master 2019-06-02 00:18:57 -04:00
Jordan Liggitt
66b2a5e82a Add compatibility tests for json/proto/yaml 2019-06-02 00:13:22 -04:00
Jordan Liggitt
b16bfdeaa9 Don't fuzz deprecated initializers field 2019-06-02 00:13:22 -04:00