k3s/pkg
Kubernetes Submit Queue 3c99777d38
Merge pull request #57422 from joelsmith/nested_data_vol
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>.

Rework method of updating atomic-updated data volumes

**What this PR does / why we need it**:

This change affects the way that secret, configmap, downwardAPI and projected volumes (which all use the same underlying code) implement their data update functionality.

* Instead of creating a subdirectory hierarchy that will contain symlinks to each actual data file, create only symlinks to items in the root of the volume, whether they be files or directories.
* Rather than comparing the user-visible data directory to see if an update is needed, compare with the current version of the data directory.
* Fix data dir timestamp format year
* Create `..data` symlink even when a data volume has no data so consumers can have simplified update watch logic.

**Which issue(s) this PR fixes**:
Fixes #57421

**Release note**:
```release-note
Correct issues that arise when volumes are mounted beneath another secret, configmap, downwardAPI or projected volume
```
2018-01-18 03:20:19 -08:00
..
api Merge pull request #57059 from ericchiang/client-go/remove-openapi-import 2018-01-12 01:26:16 -08:00
apis Merge pull request #49874 from k82cn/add_nodeAffinity_in_err_msg 2018-01-10 08:15:41 -08:00
auth Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
capabilities Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
client Merge pull request #57504 from yue9944882/fix-fake-client-dummy-watch 2018-01-16 08:39:03 -08:00
cloudprovider Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
controller Merge pull request #58306 from liggitt/gc-nil-channel 2018-01-17 13:08:30 -08:00
credentialprovider All Kubelet flags should be explicitly registered 2018-01-09 17:37:34 -08:00
features Create a feature flag for sharing PID namespace 2018-01-10 19:33:46 +01:00
fieldpath Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
generated generated 2017-11-22 18:40:09 +00:00
kubeapiserver Merge pull request #56608 from hzxuzhonghu/fix-typo 2018-01-04 15:28:05 -08:00
kubectl Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
kubelet Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
kubemark
master Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
printers Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
probe Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
proxy Merge pull request #58035 from m1093782566/windows-proxy-mode 2018-01-17 13:08:37 -08:00
quota Merge pull request #50286 from Pingan2017/modify0808 2018-01-15 11:35:03 -08:00
registry Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
routes Update Dashboard add-on to version 1.8.0 2017-11-28 17:53:02 +01:00
scheduler remove duplicated import 2018-01-17 09:34:59 +08:00
security Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
securitycontext pkg/securitycontext/util_test.go(TestAddNoNewPrivileges): update tests. 2018-01-08 15:46:39 +01:00
serviceaccount Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
ssh Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
util Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
version All Kubelet flags should be explicitly registered 2018-01-09 17:37:34 -08:00
volume Merge pull request #57422 from joelsmith/nested_data_vol 2018-01-18 03:20:19 -08:00
watch
.import-restrictions
BUILD create auto-gen files 2018-01-17 16:23:03 +08:00
OWNERS