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
Kubernetes has a naming constaint which means that the patterm must fit
'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'. This
change replaces the underscores in the secret names so the examples are
functional on both Docker and Kubernetes.
Signed-off-by: rgee0 <[email protected]>
Here we have explicitly named the key of the secret value so that when it is mounted into the function container, it will be named exactly `secret_api_key` instead of `secret_api_key.txt`.
27
+
Here we have explicitly named the key of the secret value so that when it is mounted into the function container, it will be named exactly `secret-api-key` instead of `secret_api_key.txt`.
28
28
29
29
### Define a secret in Docker Swarm
30
30
@@ -33,7 +33,7 @@ For sensitive value we can leverage the [Docker Swarm Secrets](https://docs.dock
0 commit comments