File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
content/en/docs/concepts/configuration Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,14 @@ help automate node registration.
69
69
70
70
You can make your data "hidden" by defining a key that begins with a dot.
71
71
This key represents a dotfile or "hidden" file. For example, when the following secret
72
- is mounted into a volume, ` secret-volume ` :
72
+ is mounted into a volume, ` secret-volume ` , the volume will contain a single file,
73
+ called ` .secret-file ` , and the ` dotfile-test-container ` will have this file
74
+ present at the path ` /etc/secret-volume/.secret-file ` .
75
+
76
+ {{< note >}}
77
+ Files beginning with dot characters are hidden from the output of ` ls -l ` ;
78
+ you must use ` ls -la ` to see them when listing directory contents.
79
+ {{< /note >}}
73
80
74
81
``` yaml
75
82
apiVersion : v1
@@ -101,15 +108,6 @@ spec:
101
108
mountPath : " /etc/secret-volume"
102
109
` ` `
103
110
104
- The volume will contain a single file, called ` .secret-file`, and
105
- the `dotfile-test-container` will have this file present at the path
106
- ` /etc/secret-volume/.secret-file` .
107
-
108
- {{< note >}}
109
- Files beginning with dot characters are hidden from the output of `ls -l`;
110
- you must use `ls -la` to see them when listing directory contents.
111
- {{< /note >}}
112
-
113
111
### Use case: Secret visible to one container in a Pod
114
112
115
113
Consider a program that needs to handle HTTP requests, do some complex business
You can’t perform that action at this time.
0 commit comments