Skip to content

Commit 5352238

Browse files
docs(srv): add info on env var precedence MTA-6144 (#5108)
* docs(srv): add info on env var precedence MTA-6144 * Update pages/serverless-functions/concepts.mdx Co-authored-by: Néda <[email protected]> * Update pages/serverless-containers/concepts.mdx Co-authored-by: Néda <[email protected]> --------- Co-authored-by: Néda <[email protected]>
1 parent 73c5def commit 5352238

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pages/serverless-containers/concepts.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ An endpoint is the URL generated to access your resource. It can be customized w
9696

9797
## Environment variables
9898

99-
Environment variables are key/value pairs injected in your container. They are useful to share information such as configurations with your container. Some names are reserved. [See details about reserved names](/serverless-containers/reference-content/containers-limitations/#configuration-restrictions).
99+
Environment variables are key/value pairs injected into your container. They are useful to share information such as configurations with your container. Environment variables defined at the container level override the ones defined at the namespace level if they have the same name.
100+
101+
Some names are reserved. [See details about reserved names](/serverless-containers/reference-content/containers-limitations/#configuration-restrictions).
100102

101103
## Ephemeral storage
102104

@@ -226,7 +228,7 @@ When provisioned with a [minimum scale](#min-scale) of `0`, Serverless Container
226228

227229
## Secrets
228230

229-
Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation.
231+
Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation. Secrets defined at the container level override the ones defined at the namespace level if they have the same name.
230232

231233
For more details about Serverless advantages, [read Serverless Overview](/serverless-containers/reference-content/serverless-overview/).
232234

pages/serverless-functions/concepts.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ An endpoint is the URL generated to access your resource. It can be customized w
5656

5757
## Environment variables
5858

59-
Environment variables are key/value pairs injected in your container. They are useful for sharing information such as configurations with your container. Some names are reserved. [See details on reserved names](/serverless-functions/reference-content/functions-limitations/#configuration-restrictions).
59+
Environment variables are key/value pairs injected into your container. They are useful for sharing information such as configurations with your container. Environment variables defined at the function level override the ones defined at the namespace level if they have the same name.
60+
61+
Some names are reserved. [See details on reserved names](/serverless-functions/reference-content/functions-limitations/#configuration-restrictions).
6062

6163
## GB-s
6264

@@ -161,6 +163,8 @@ When provisioned with a [minimum scale](#min-scale) of `0`, Serverless Functions
161163

162164
Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your function and stored securely, but not displayed in the console after initial validation.
163165

166+
Secrets defined at the function level override the ones defined at the namespace level if they have the same name.
167+
164168
## Serverless
165169

166170
Serverless allows you to deploy your Functions (FaaS) and Containerized Applications (CaaS) in a managed infrastructure. Scaleway ensures the deployment, availability, and scalability of all your projects.

0 commit comments

Comments
 (0)