You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -138,11 +138,12 @@ Putting this information in a secret is safer and more flexible than putting it
138
138
2. Add the secret key into the provider definition in the serverless.yml file below the `secrets` key. You can specify an array of secrets and they will be mounted at root level in the pod file system using the path `/<secret-name>`:
139
139
140
140
```yaml
141
-
provider:
142
-
name: kubeless
143
-
....
144
-
secrets:
145
-
- secret-file
141
+
...
142
+
functions:
143
+
my-handler:
144
+
secrets:
145
+
- secret-file
146
+
...
146
147
```
147
148
148
149
3. Now inside your pod, you will be able to access the route `/secret-file/secret.txt`.
0 commit comments