Skip to content

Commit a9db787

Browse files
committed
Merge description of dotfile volume into the intro sentence. Content is exactly the same
1 parent 9bdbe90 commit a9db787

File tree

1 file changed

+8
-10
lines changed
  • content/en/docs/concepts/configuration

1 file changed

+8
-10
lines changed

content/en/docs/concepts/configuration/secret.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,14 @@ help automate node registration.
6969

7070
You can make your data "hidden" by defining a key that begins with a dot.
7171
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 >}}
7380

7481
```yaml
7582
apiVersion: v1
@@ -101,15 +108,6 @@ spec:
101108
mountPath: "/etc/secret-volume"
102109
```
103110
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-
113111
### Use case: Secret visible to one container in a Pod
114112
115113
Consider a program that needs to handle HTTP requests, do some complex business

0 commit comments

Comments
 (0)