Commit Graph

571 Commits

Author SHA1 Message Date
Kubernetes Publisher
ec0e6ae009 sync: update godeps 2018-04-07 03:54:30 +00:00
Kubernetes Publisher
e0a1db6d08 sync: update required packages 2018-04-06 23:53:40 +00:00
Kubernetes Publisher
2699b2b3b2 sync: update godeps 2018-04-06 23:53:40 +00:00
Kubernetes Publisher
c0c1344b1f Merge pull request #61400 from natronq/master
Automatic merge from submit-queue (batch tested with PRs 61400, 61048). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

code-gen: allow specifying custom resync periods for certain informer types

**What this PR does / why we need it**:
This PR extends the informer code-generator to allow the consumer to specify a custom resync period for certain informer types and uses the default resync period if none is defined.

**Special notes for your reviewer**:
Example:
```go
cs := clientset.NewForConfigOrDie(config)
resyncConfig := externalversions.ResyncConfiguration{
  &samplev1alpha1.Sample{}: 30 * time.Second,
}
informer := externalversions.NewSharedInformerFactory(cs, 2*time.Minute, externalversions.WithCustomResyncConfig(resyncConfig))
```
**Release note**:

```release-note
NONE
```

Kubernetes-commit: 7daaa826d291c1501a52177c3e14b00c503c8527
2018-04-06 23:53:23 +00:00
Kubernetes Publisher
4a57a6f070 sync: update required packages 2018-04-06 19:52:32 +00:00
Kubernetes Publisher
28bc2cefcd sync: update godeps 2018-04-06 19:52:32 +00:00
Kubernetes Publisher
0edc443454 sync: update required packages 2018-04-06 15:55:16 +00:00
Kubernetes Publisher
86e7dab20d sync: update godeps 2018-04-06 15:55:16 +00:00
Kubernetes Publisher
3709cee765 sync: update required packages 2018-04-06 12:05:26 +00:00
Kubernetes Publisher
d74f225f28 sync: update godeps 2018-04-06 12:05:26 +00:00
Kubernetes Publisher
e933a6fa9c Merge pull request #60021 from nikhita/sample-controller-subresources
Automatic merge from submit-queue (batch tested with PRs 60102, 59970, 60021, 62011, 62080). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

sample-controller: add status subresource support

Builds on top of https://github.com/kubernetes/kubernetes/pull/55168.

**DO NOT MERGE** until https://github.com/kubernetes/kubernetes/pull/55168 is merged. Adding a hold.
/hold

Update: It is now merged! 🎉

This PR:

- Adds an example to show how to use the `/status` subresource with custom resources.
- Generates `UpdateStatus` for the `Foo` resource.
- Updates the comment in the controller to mention that `UpdateStatus` can now be used. Note: this is not enabled by default because subresources require the feature gate to be enabled and are not on by default.
- Updates the README to add feature gate information and examples for `CustomResourceSubresources`.
- Updates the README to remove feature gate information for CRD validation since the current example uses `apps/v1` deployments (and thus requires v1.9 anyway).

**Release note**:

```release-note
NONE
```

/assign sttts munnerz

Kubernetes-commit: 7bde13f191f0791a87fe5e2575feb3d4849de536
2018-04-06 12:05:08 +00:00
Kubernetes Publisher
aadb6d02da Merge pull request #62037 from cblecker/godep-bump
Automatic merge from submit-queue (batch tested with PRs 61959, 62037). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Bump godep version to v80

**What this PR does / why we need it**:
Update the minimum godep, to v80 (supposed to be the final version).

**Release note**:
```release-note
NONE
```

Kubernetes-commit: 22440e15764e2d821166eff5b965786fa928357e
2018-04-06 12:04:50 +00:00
Kubernetes Publisher
96b07c14ac Merge pull request #61800 from rithujohn191/remove-gopass
Automatic merge from submit-queue (batch tested with PRs 61818, 61800). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Replace gopass.GetPasswdMasked() by terminal.ReadPassword()

**What this PR does / why we need it**:
Replace `gopass.GetPasswdMasked()` used for reading passwords from the terminal with [`terminal.ReadPassword()`](https://godoc.org/golang.org/x/crypto/ssh/terminal#ReadPassword). This removes the `gopass` import.

**Special notes for your reviewer**:
Ran the following commands to update `godep` files:
```
./hack/godep-restore.sh -v
./hack/godep-save.sh
./hack/update-staging-godeps.sh
./hack/update-bazel.sh
```

/sig auth
/kind enhancement
/assign @ericchiang

```release-note
NONE
```

Kubernetes-commit: a5133305a9f347c79c20c5785d41cc9400be895e
2018-04-06 12:04:33 +00:00
natronq
c826d9a4ba Run hack/update-codegen.sh
Kubernetes-commit: a923acd0420c26bd9321eae058a7f94226dd6e64
2018-04-05 14:00:02 +02:00
Christoph Blecker
02b86407e5 Update godep in vendor
Kubernetes-commit: 0828b1999663573b17ded671b7eb89e14faeb4a8
2018-04-02 12:57:41 -07:00
Kubernetes Publisher
fac24b192a sync: update required packages 2018-03-30 19:46:44 +00:00
Kubernetes Publisher
316b82400f sync: update godeps 2018-03-30 19:46:43 +00:00
Kubernetes Publisher
7220d7f7a8 sync: update required packages 2018-03-30 16:00:27 +00:00
Kubernetes Publisher
4d73244bb2 sync: update godeps 2018-03-30 16:00:27 +00:00
Kubernetes Publisher
9e4d8510b3 sync: update required packages 2018-03-30 11:59:27 +00:00
Kubernetes Publisher
d9fcada825 sync: update godeps 2018-03-30 11:59:27 +00:00
Kubernetes Publisher
b569e8beb9 sync: update required packages 2018-03-30 07:58:33 +00:00
Kubernetes Publisher
78509bf814 sync: update godeps 2018-03-30 07:58:33 +00:00
Kubernetes Publisher
1dd644af46 sync: update required packages 2018-03-30 03:58:14 +00:00
Kubernetes Publisher
45f171cd1c sync: update godeps 2018-03-30 03:58:13 +00:00
rithu john
ee0bf66a6b *: godep generated code
Kubernetes-commit: 742bb5ea39ed786e565f48d6a2077c848f046783
2018-03-29 17:23:35 -07:00
Kubernetes Publisher
5ab6bc937a sync: update required packages 2018-03-30 00:00:05 +00:00
Kubernetes Publisher
7691be75b7 sync: update godeps 2018-03-30 00:00:04 +00:00
Kubernetes Publisher
75fe64a25a sync: update required packages 2018-03-29 19:48:56 +00:00
Kubernetes Publisher
48a8b2db1f sync: update godeps 2018-03-29 19:48:55 +00:00
Kubernetes Publisher
ee41c266dd sync: update required packages 2018-03-29 15:46:13 +00:00
Kubernetes Publisher
2e958d3a92 sync: update godeps 2018-03-29 15:46:13 +00:00
Kubernetes Publisher
a6192a1f94 sync: update required packages 2018-03-29 11:45:20 +00:00
Kubernetes Publisher
19901f031d sync: update godeps 2018-03-29 11:45:20 +00:00
Kubernetes Publisher
563ed65e6a sync: update required packages 2018-03-29 07:44:48 +00:00
Kubernetes Publisher
0f33588e12 sync: update godeps 2018-03-29 07:44:48 +00:00
Kubernetes Publisher
a81e0d9172 sync: update required packages 2018-03-29 03:46:08 +00:00
Kubernetes Publisher
abfbe9e320 sync: update godeps 2018-03-29 03:46:08 +00:00
Kubernetes Publisher
0ee2ead89a sync: update required packages 2018-03-28 23:45:37 +00:00
Kubernetes Publisher
c815f58ec6 sync: update godeps 2018-03-28 23:45:37 +00:00
Kubernetes Publisher
662273ed7f sync: update required packages 2018-03-28 19:46:48 +00:00
Kubernetes Publisher
268409f5e0 sync: update godeps 2018-03-28 19:46:47 +00:00
Kubernetes Publisher
219361be1e sync: update required packages 2018-03-28 15:47:53 +00:00
Kubernetes Publisher
b8b66f86f8 sync: update godeps 2018-03-28 15:47:53 +00:00
Kubernetes Publisher
b46753e595 sync: update required packages 2018-03-28 11:45:59 +00:00
Kubernetes Publisher
4e5c4eae34 sync: update godeps 2018-03-28 11:45:59 +00:00
Kubernetes Publisher
55aee52d4f sync: update required packages 2018-03-28 07:47:41 +00:00
Kubernetes Publisher
9150b86f3d sync: update godeps 2018-03-28 07:47:41 +00:00
Kubernetes Publisher
820568283f sync: update required packages 2018-03-28 03:44:56 +00:00
Kubernetes Publisher
f1db86b7b1 sync: update godeps 2018-03-28 03:44:56 +00:00