k3s/pkg/api/validation
k8s-merge-robot f2f3b49f58 Merge pull request #22575 from MikaelCluseau/wip-issue-20466
Automatic merge from submit-queue

Add subPath to mount a child dir or file of a volumeMount

Allow users to specify a subPath in Container.volumeMounts so they can use a single volume for many mounts instead of creating many volumes. For instance, a user can now use a single PersistentVolume to store the Mysql database and the document root of an Apache server of a LAMP stack pod by mapping them to different subPaths in this single volume.

Also solves https://github.com/kubernetes/kubernetes/issues/20466.
2016-05-08 08:45:15 -07:00
..
testdata/v1 Use fake images for pkg/api/validation unit tests 2016-04-14 17:13:15 -07:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
events.go Fix ValidateEvent error message 2015-12-19 12:14:54 +01:00
events_test.go rewrite go imports 2015-08-05 17:30:03 -07:00
name.go Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
name_test.go Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
schema.go Updating the schema validation code 2016-04-14 18:07:00 -07:00
schema_test.go Updating the schema validation code 2016-04-14 18:07:00 -07:00
validation.go Merge pull request #22575 from MikaelCluseau/wip-issue-20466 2016-05-08 08:45:15 -07:00
validation_test.go Merge pull request #22575 from MikaelCluseau/wip-issue-20466 2016-05-08 08:45:15 -07:00