|
1 | 1 | --- |
2 | | -title: Deploy a Worker with Configurations and Secrets |
| 2 | +title: Deploy an Application with Configurations and Secrets |
3 | 3 | description: Learn how to inject environment variables, config files, and secrets into your OpenChoreo worker deployments. |
4 | 4 | sidebar_position: 6 |
5 | 5 | --- |
6 | 6 |
|
7 | 7 | import CodeBlock from "@theme/CodeBlock"; |
8 | 8 | import { versions } from "../_constants.mdx"; |
9 | 9 |
|
10 | | -# Deploy a Worker with Configurations and Secrets |
| 10 | +# Deploy an Application with Configurations and Secrets |
11 | 11 |
|
12 | | -This guide walks you through deploying a worker that uses environment variables, configuration files, and secrets. OpenChoreo lets you inject all of these into your workload without baking them into your container image. |
| 12 | +This guide walks you through deploying an application that uses environment variables, configuration files, and secrets. OpenChoreo lets you inject all of these into your workload without baking them into your container image. |
13 | 13 |
|
14 | 14 | ## Overview |
15 | 15 |
|
@@ -156,12 +156,12 @@ EOF |
156 | 156 |
|
157 | 157 | ### What's happening here |
158 | 158 |
|
159 | | -| Field | Description | |
160 | | -|---|---| |
161 | | -| `container.env[].value` | Plain-text environment variable injected directly | |
162 | | -| `container.env[].valueFrom.secretKeyRef` | Secret value pulled from a `SecretReference` and injected as an env var | |
163 | | -| `container.files[].value` | Inline file content mounted at the specified path | |
164 | | -| `container.files[].valueFrom.secretKeyRef` | Secret value pulled from a `SecretReference` and mounted as a file | |
| 159 | +| Field | Description | |
| 160 | +| ------------------------------------------ | ----------------------------------------------------------------------- | |
| 161 | +| `container.env[].value` | Plain-text environment variable injected directly | |
| 162 | +| `container.env[].valueFrom.secretKeyRef` | Secret value pulled from a `SecretReference` and injected as an env var | |
| 163 | +| `container.files[].value` | Inline file content mounted at the specified path | |
| 164 | +| `container.files[].valueFrom.secretKeyRef` | Secret value pulled from a `SecretReference` and mounted as a file | |
165 | 165 |
|
166 | 166 | ## Step 4 — Override Configurations per Environment (Optional) |
167 | 167 |
|
@@ -238,7 +238,7 @@ kubectl get secrets -A | grep config-tutorial-app |
238 | 238 |
|
239 | 239 | ## Summary |
240 | 240 |
|
241 | | -You've learned how to deploy a worker with environment variables, configuration files, and secrets using OpenChoreo's `Workload` and `SecretReference` resources, and how to override configurations per environment using `ReleaseBinding`. |
| 241 | +You've learned how to deploy an application with environment variables, configuration files, and secrets using OpenChoreo's `Workload` and `SecretReference` resources, and how to override configurations per environment using `ReleaseBinding`. |
242 | 242 |
|
243 | 243 | ## Next Steps |
244 | 244 |
|
|
0 commit comments