We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
subPath
1 parent 062f170 commit 2932786Copy full SHA for 2932786
1 file changed
docs/features/secrets.adoc
@@ -196,7 +196,23 @@ data:
196
filename: {{ "encoded string" | b64enc }}
197
```
198
199
-can be used as:
+can be used from a pod containing
200
+
201
+```yaml
202
+containers:
203
+- name: jenkins
204
+ volumeMounts:
205
+ - name: filename-secret
206
+ mountPath: /run/secrets/filename
207
+ subPath: filename
208
+ readOnly: true
209
+volumes:
210
+- name: filename-secret
211
+ secret:
212
+ secretName: secret-name
213
+```
214
215
+as:
216
217
```yaml
218
- credentials:
0 commit comments