Skip to content

Commit

Permalink
Updated section on environment variables (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaya-sys authored Apr 12, 2024
2 parents a763ead + d98a4e5 commit 889ee07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 280 deletions.
11 changes: 6 additions & 5 deletions content/en/docs/environment variables/_index.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
title: "Define environment variables"
linkTitle: "Define environment variables"
linkTitle: "Environment variables"
weight: 5
description: >
This section describes how to define environment variables.
aliases:
- /environment-variables/environment-variables-humanitec
- /docs/environment-variables/environment-variables-compose/
- /docs/environment-variables/environment-variables-helm/
---

## Overview

You can pass environment-specific configuration to the container during a deployment. The Score Specification enables a special environment resource type to be used to support such use cases.
You can pass environment-specific configuration to the container during a deployment. The Score Specification enables a special `environment` resource type to be used to support such use cases.

Environment configurations are set within the [`resource`]({{< relref "/docs/score-specification/score-spec-reference" >}} "Container") section of your Score Specification file. These act as environment variables when you're deploying a Workload.

Expand All @@ -20,5 +21,5 @@ The Score Specification supports declaring environment variables in a configurat

For more information, see

- [Environment variables in score-compose]({{< relref "/docs/environment variables/environment-variables-compose" >}})
- [Environment variables in score-helm]({{< relref "/docs/environment variables/environment-variables-helm" >}})
- [Environment variables in score-compose](https://github.com/score-spec/score-compose/tree/main/examples/02-environment)
- [Environment variables in score-helm](https://github.com/score-spec/score-helm/tree/main/examples/02-environment)
128 changes: 0 additions & 128 deletions content/en/docs/environment variables/environment-variables-compose.md

This file was deleted.

147 changes: 0 additions & 147 deletions content/en/docs/environment variables/environment-variables-helm.md

This file was deleted.

0 comments on commit 889ee07

Please sign in to comment.