Commit Graph

10808 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d87f38cda8 Merge pull request #90548 from p0lyn0mial/wire-ctrl-dynamic-request-header-auth-provider
provides DynamicRequestHeaderController for dynamically filling RequestHeaderConfig struct
2020-05-01 00:40:41 -07:00
Dor Kleiman
445044db9c Simplify GroupVersion.Seting()
The old code had special cases that returned the same values as the regular case does.

If group is empty, the conditional
```if len(gv.Group) > 0 {```
doesn't apply, and `gv.Version` is returned.

In the empty case, the special case was returning `""`, which is exactly what `gv.Version` contains.
In the legacy v1 case, the special case was returning `"v1"`, which is exactly what `gv.Version` contains.
2020-05-01 02:39:38 +03:00
Tariq Ibrahim
9760dec9dc s/RelicaSets/ReplicaSets 2020-04-30 13:43:19 -07:00
Kubernetes Prow Robot
dbbf868014 Merge pull request #90300 from deads2k/beta-annotations-01
add api lifecycle tags to admission.k8s.io
2020-04-30 13:37:10 -07:00
Kubernetes Prow Robot
8dd93ca94c Merge pull request #90309 from alculquicondor/plugin-args-decoding
Use internal config types in scheduling plugin args
2020-04-30 05:32:18 -07:00
cici37
b8bac0206d Copy patchNodeStatus logic to cloud-provider 2020-04-29 15:51:55 -07:00
Kubernetes Prow Robot
429aefa2e6 Merge pull request #90139 from scality/GH90138-program-name-in-verflag-output
version/verflag: make program name variable
2020-04-29 14:36:20 -07:00
Aldo Culquicondor
6b153dc920 Add decoding of nested scheduling plugin configs
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-29 17:06:58 -04:00
cici37
7f4d19167e Move pkg/util/configz to k8s.io/component-base 2020-04-29 12:17:25 -07:00
David Eads
81d123400d add prerelease lifecycle tags to policy 2020-04-29 11:53:44 -04:00
David Eads
d13638df07 add prerelease lifecycle tags to node.k8s.io 2020-04-29 11:18:44 -04:00
wojtekt
c3f4b10e71 Remove approvers from events API 2020-04-29 17:14:52 +02:00
David Eads
cf9a9a975f add prerelease lifecycle tags to networking 2020-04-29 10:46:41 -04:00
Hemant Kumar
9d4329f62c Check for empty zone string 2020-04-29 10:46:15 -04:00
David Eads
6ee1f64fb3 add prerelease lifecycle tags to events 2020-04-29 09:19:08 -04:00
Wojciech Tyczynski
9f1e462037 Send watch bookmarks every minute 2020-04-29 13:27:21 +02:00
Lukasz Szaszkiewicz
f83f4a873f generated 2020-04-29 11:38:45 +02:00
Lukasz Szaszkiewicz
f3a7f057c4 expose RunOnce method on RequestHeaderAuthRequest controller 2020-04-29 11:38:05 +02:00
Lukasz Szaszkiewicz
cb4b4cb5a6 provides DynamicRequestHeaderController that combines DynamicCAFromConfigMapController and RequestHeaderAuthRequestController into one controller
the unified controller will dynamically fill RequestHeaderConfig struct
2020-04-29 11:38:05 +02:00
Kubernetes Prow Robot
0c3c2cd6ac Merge pull request #89660 from pjferrell/kubectl-jsonpath-nonprimitive-types
client-go/util/jsonpath: resolve #16707 by outputting json for non-primitive types
2020-04-28 22:56:25 -07:00
Gaurav Singh
862c30a228 [Provider/Azure] optimize mutex locks 2020-04-28 22:09:20 -04:00
Aldo Culquicondor
29f5adee7f Remove wrapper around base LeaderElectionConfiguration
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-28 15:44:35 -04:00
David Eads
d47894fbfb add prerelease lifecycle tags to discovery 2020-04-28 15:43:38 -04:00
David Eads
6b52499a86 add prerelease lifecycle tags to certificates 2020-04-28 15:34:01 -04:00
David Eads
a38d9eb4fa add api lifecycle tags to admission.k8s.io 2020-04-28 14:04:45 -04:00
David Eads
d0c555fbb4 add prerelease lifecycle tags to coordination 2020-04-28 12:54:43 -04:00
Aaron Crickenberger
81881e4a12 prune .import-restrictions
specifically:

- cmd/kubeadm/.import-restrictions
  - we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
  - pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
  - pkg/printers is no longer used
  - pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
  - noop / empty file
- test/e2e/framework/.import-restrictions
  - we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4 convert .import-restrictions to yaml
yaml has comments, so we can explain why we have certain rules or
certain prefixes

for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
Kubernetes Prow Robot
7814f3aaf7 Merge pull request #88723 from wawa0210/kubectl_taint_short_forms
Support kubectl more flexible matching method to match whether the current resource type is node
2020-04-28 04:32:05 -07:00
Kubernetes Prow Robot
885e1e929a Merge pull request #90501 from tanjunchen/component-base/metrics-improve-code
k8s.io/component-base/metrics/testutil/:improve code
2020-04-27 22:26:52 -07:00
Hemant Kumar
850da22c02 Azure - do not use 0 zone or empty string for zone when creating PVs 2020-04-27 17:14:50 -04:00
Kubernetes Prow Robot
6abb8ebd19 Merge pull request #90524 from kubernetes/revert-90249-bookmark_every_minute
Revert "Send watch bookmarks every minute"
2020-04-27 13:40:43 -07:00
Kubernetes Prow Robot
b9ac921f31 Merge pull request #90463 from deads2k/beta-annotations-05-autoscaling
add prerelease lifecycle tags to autoscaling
2020-04-27 13:40:33 -07:00
Kubernetes Prow Robot
e00e89ae1c Merge pull request #90449 from wojtek-t/remove_events_deprecated_field
Remove events deprecated field
2020-04-27 13:40:19 -07:00
Kubernetes Prow Robot
77bf313584 Merge pull request #90457 from deads2k/beta-annotations-03-apps
add beta annotations to apps
2020-04-27 12:09:38 -07:00
wojtekt
13d74c8c04 Update compatibility test
--- FAIL: TestCompatibility (1.44s)
    --- FAIL: TestCompatibility/core.v1.Event (0.02s)
        --- FAIL: TestCompatibility/core.v1.Event/v1.17.0 (0.01s)
            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 79 identical lines
                  	"      2: 456715000",
                  	"    }",
                - 	`    3: ""`,
                  	"  }",
                  	`  12: "30"`,
                  	... // 18 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
        --- FAIL: TestCompatibility/core.v1.Event/v1.18.0 (0.01s)
            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 79 identical lines
                  	"      2: 456715000",
                  	"    }",
                - 	`    3: ""`,
                  	"  }",
                  	`  12: "30"`,
                  	... // 18 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
    --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event (0.02s)
        --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.17.0 (0.01s)
            compatibility.go:476: json differs
            compatibility.go:477:   strings.Join({
                  	... // 43 identical lines
                  	`  "series": {`,
                  	`    "count": -1971381490,`,
                - 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
                - 	`    "state": "鯹)晿\u003c"`,
                + 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
                  	"  },",
                  	`  "reportingController": "19",`,
                  	... // 31 identical lines
                  }, "\n")

            compatibility.go:482: yaml differs
            compatibility.go:483:   strings.Join({
                  	... // 60 identical lines
                  	"  count: -1971381490",
                  	`  lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
                - 	"  state: 鯹)晿<",
                  	`type: "36"`,
                  	"",
                  }, "\n")

            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 54 identical lines
                  	"      2: 343118000",
                  	"    }",
                - 	`    3: "\351\257\271)\346\231\277<"`,
                  	"  }",
                  	`  4: "19"`,
                  	... // 43 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
        --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.18.0 (0.01s)
            compatibility.go:476: json differs
            compatibility.go:477:   strings.Join({
                  	... // 43 identical lines
                  	`  "series": {`,
                  	`    "count": -1971381490,`,
                - 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
                - 	`    "state": "鯹)晿\u003c"`,
                + 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
                  	"  },",
                  	`  "reportingController": "19",`,
                  	... // 31 identical lines
                  }, "\n")

            compatibility.go:482: yaml differs
            compatibility.go:483:   strings.Join({
                  	... // 60 identical lines
                  	"  count: -1971381490",
                  	`  lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
                - 	"  state: 鯹)晿<",
                  	`type: "36"`,
                  	"",
                  }, "\n")

            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 54 identical lines
                  	"      2: 343118000",
                  	"    }",
                - 	`    3: "\351\257\271)\346\231\277<"`,
                  	"  }",
                  	`  4: "19"`,
                  	... // 43 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
2020-04-27 18:53:11 +02:00
wojtekt
5a9b6a3114 Autogenerated 2020-04-27 18:53:11 +02:00
wojtekt
edc60a970a Remove deprecated State fiel in EventSeries 2020-04-27 18:53:11 +02:00
Kubernetes Prow Robot
95bb85378d Merge pull request #89992 from zhouya0/remove_cobra_command_from_options
Remove *cobra.command from options
2020-04-27 09:35:44 -07:00
Kubernetes Prow Robot
ca8db0b396 Merge pull request #85806 from beautytiger/dev-191202-urlspace
fix: add space in front of url in command desc
2020-04-27 09:35:30 -07:00
Lukasz Szaszkiewicz
6e0211b3d8 provides RequestHeaderAuthRequestController for dynamically filling RequestHeaderConfig struct 2020-04-27 17:41:42 +02:00
张潇
8fda1f361c Kubectl Taint now also accepts short forms for "node","nodes","no" 2020-04-27 23:18:27 +08:00
Wojciech Tyczynski
1cb98ed237 Revert "Send watch bookmarks every minute" 2020-04-27 17:07:27 +02:00
Dr. Stefan Schimanski
d42ccdc690 Add myself to staging repo SECURITY_CONTACTS 2020-04-27 16:39:25 +02:00
Kubernetes Prow Robot
75aede28e1 Merge pull request #90484 from nilo19/cleanup/add-unit-tests-for-race-condition
Add unit tests for azure race conditions.
2020-04-27 06:39:29 -07:00
Kubernetes Prow Robot
cdc9e337d2 Merge pull request #90337 from gaurav1086/aws_use_TrimPrefix
[Provider/aws] use strings.TrimPrefix()
2020-04-27 02:51:29 -07:00
t-qini
e48f69de10 Add unit tests for azure race conditions. 2020-04-27 16:44:27 +08:00
Kubernetes Prow Robot
d3d870f051 Merge pull request #90459 from liggitt/rbac-deprecated
add prerelease API lifecycle tags for rbac APIs
2020-04-26 16:39:28 -07:00
Gaurav Singh
e3dde36e14 goroutine: Convert eventType to interface{} 2020-04-26 11:06:32 -04:00
tanjunchen
807a7e2426 k8s.io/component-base/metrics/testutil/:improve code 2020-04-26 15:27:51 +08:00