Add more attributes into FlexVolume options field.

Based on the source code, 4685df26dd/pkg/volume/flexvolume/driver-call.go (L48)
This commit is contained in:
Jianfei Hu 2018-03-29 09:28:08 -07:00 committed by GitHub
parent e83e816153
commit 7478822193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -122,6 +122,12 @@ Note: Secrets are passed only to "mount/unmount" call-outs.
```
"kubernetes.io/fsType":"<FS type>",
"kubernetes.io/readwrite":"<rw>",
"kubernetes.io/pod.name": <string>,
"kubernetes.io/pod.namespace": <string>,
"kubernetes.io/serviceAccount.name": <string>,
"kubernetes.io/pod.uid": <string>,
"kubernetes.io/secret/key1":"<secret1>"
...
"kubernetes.io/secret/keyN":"<secretN>"