wojtekt
53ce79a18a
Migrate to k8s.io/utils/clock in pkg/kubelet
2021-09-10 12:20:09 +02:00
chenyw1990
57a3b0abd6
reduce configmap and secret watch of kubelet
2021-03-08 16:55:39 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
wzshiming
abf181ba48
Fix typo
2021-01-19 11:50:56 +08:00
Kubernetes Prow Robot
52fb02fdbe
Merge pull request #87718 from wojtek-t/kubelet_not_watching_immutable_secret_configmaps
...
WatchBasedManager stops watching immutable objects
2020-02-11 23:14:33 -08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
wojtekt
b11b7d354d
WatchBasedManager stops watching immutable objects
2020-01-31 20:53:21 +01:00
obitech
cbdfccc9f8
Fix golint issues in pkg/kubelet/secret
2019-06-20 19:56:29 +02:00
SataQiu
c6a0f820d8
fix golint failures of pkg/kubelet/prober pkg/kubelet/secret
2019-05-31 17:08:53 +08:00
yameiwang
23b7d5e606
fix some spelling error
2019-05-25 06:51:31 +08:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
wojtekt
72a0f4d167
Enable watching secret and configmap manager
2018-06-19 22:13:18 +02:00
wojtekt
01e58de70c
Refactor ConfigMapManager
2018-05-17 11:37:35 +02:00
wojtekt
de37da8532
Refactor cache based manager
2018-05-16 10:59:32 +02:00
wojtekt
52713cd837
Rename Add/Delete to *Reference
2018-05-09 18:14:50 +02:00
wojtekt
8e55220523
Refactor cachingSecretManager
2018-05-09 18:09:59 +02:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Kevin
4c8539cece
use core client with explicit version globally
2017-10-27 15:48:32 +08:00
Kubernetes Submit Queue
dfdfb8932f
Merge pull request #52052 from joelsmith/master
...
Automatic merge from submit-queue. 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>.
Clean up kublet secret and configmap unit test
**What this PR does / why we need it**:
These changes are clean-up items to fix confusing code encountered while investigating #52043 . No actual bugs are fixed here (except, maybe, correcting unit tests that had actual/expected swapped).
A summary of the changes, as listed in the commit:
* Expected value comes before actual value in assert.Equal()
* Use `assert.Equal()` instead of `assert.True()` when possible
* Add a unit test that verifies no-op pod updates to the `secret_manager` and the `configmap_manager`
* Add a clarifying comment about why it's good to seemingly delete a secret on updates.
* Fix (for now, non-buggy) variable shadowing issue
**Special notes for your reviewer**:
N/A
**Release note**:
```release-note
NONE
```
2017-10-17 10:06:16 -07:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Joel Smith
58ae5a78f9
Clean up kublet secret and configmap unit test
...
* Expected value comes before actual value in assert.Equal()
* Use assert.Equal() instead of assert.True() when possible
* Add a unit test that verifies no-op pod updates to the
secret_manager and the configmap_manager
* Add a clarifying comment about why it's good to seemingly
delete a secret on updates.
* Fix (for now, non-buggy) variable shadowing issue
2017-09-06 16:38:01 -06:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Clayton Coleman
3e095d12b4
Refactor move of client-go/util/clock to apimachinery
2017-05-20 14:19:48 -04:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Jordan Liggitt
a5526304bc
Use consistent helper for getting secret names from pod
2017-02-23 00:40:17 -05:00
Jeff Peeler
8fb1b71c66
Implements projected volume driver
...
Proposal: kubernetes/kubernetes#35313
2017-02-20 12:56:04 -05:00
NickrenREN
31bfefca3c
optimize NewSimpleSecretManager and cleanupOrphanedPodCgroups
...
remove NewSimpleSecretManager second return value and cleanupOrphanedPodCgroups's return since they will never return err
2017-02-14 09:47:05 +08:00
Wojciech Tyczynski
6c0535a939
Use secret TTL annotation in secret manager
2017-02-09 13:53:32 +01:00
Kubernetes Submit Queue
2bb1e75815
Merge pull request #40863 from kubernetes/sttts-big-genericapiserver-move
...
Automatic merge from submit-queue (batch tested with PRs 40795, 40863)
Move pkg/genericapiserver and pkg/storage to k8s.io/apiserver
approved based on #40363
These must merge first:
- [x] genericvalidation https://github.com/kubernetes/kubernetes/pull/40810
- [x] openapi https://github.com/kubernetes/kubernetes/pull/40829
- [x] episode 7 https://github.com/kubernetes/kubernetes/pull/40853
2017-02-03 03:48:50 -08:00
Dr. Stefan Schimanski
6af3210d6f
Update generated files
2017-02-03 08:15:46 +01:00
Dr. Stefan Schimanski
80b96b441b
Mechanical import fixup: pkg/storage
2017-02-03 07:33:43 +01:00
Wojciech Tyczynski
6f3acb801d
Fix bug in secret manager.
2017-02-02 21:39:26 +01:00
Kubernetes Submit Queue
ae1c9a2b25
Merge pull request #40360 from wojtek-t/speedup_secret_manager
...
Automatic merge from submit-queue (batch tested with PRs 40239, 40397, 40449, 40448, 40360)
Optimize secret manager to refresh secrets from apiserver cache
Ref #19188
@liggitt
2017-01-26 14:23:45 -08:00
Wojciech Tyczynski
220cfdff91
Optimize secret manager to refresh secrets from apiserver cache
2017-01-26 20:54:45 +01:00
Kubernetes Submit Queue
b9eb3e9d68
Merge pull request #40195 from fraenkel/env_secret_secretmgr
...
Automatic merge from submit-queue (batch tested with PRs 39538, 40188, 40357, 38214, 40195)
Use SecretManager when getting secrets for EnvFrom
Merges crossed in the night which missed this needed change.
2017-01-25 17:47:16 -08:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
Michael Fraenkel
7ddad11058
Use SecretManager when getting secrets for EnvFrom
2017-01-24 05:05:48 -07:00
Wojciech Tyczynski
e0784f2e00
Propage secret volumes in secret manager
2017-01-23 16:10:01 +01:00
gmarek
3c0d2bb1f0
Add SecretManager to Kubelet
2017-01-19 20:12:04 +01:00
Wojciech Tyczynski
09e4de385c
Enable nontrivial secret manager
2017-01-19 19:47:33 +01:00
Wojciech Tyczynski
ffd8daf488
SecretManager with caching
2017-01-19 19:47:32 +01:00