Skip to content

Commit 8ba4265

Browse files
committed
Minor changes
1 parent 1b83c47 commit 8ba4265

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

modules/configuring/proc-injecting-custom-files-and-environment-variables-into-backstage-containers.adoc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
:_mod-docs-content-type: PROCEDURE
33

44
[id="proc-injecting-custom-files-and-environment-variables-into-backstage-containers"]
5-
= Injecting custom files and environment variables into {backstage} containers
5+
= Injecting extra files and environment variables into {backstage} containers
66

7-
You must use the `spec.application` path to configure the injection of custom files and environment variables into your {backstage} Pod containers. This ensures necessary configurations, credentials, and dependencies (such as certificates) are available at runtime.
7+
You must use the `spec.application.extraFiles|extraEnvs.configMaps|secrets.containers` path to configure the injection of extra files and environment variables into your {backstage} Pod containers. This ensures necessary configurations, credentials, and dependencies (such as certificates) are available at runtime.
88

9-
You can mount extra files, sourced from pre-created Kubernetes ConfigMaps or Secrets, to your {backstage} Pod containers using the `spec.application.extraFiles` path.
10-
11-
By default, files mount only to the `backstage-backend` container. You can also specify other targets, including a list of containers by name (such as `dynamic-plugin-install` or custom sidecars) or opt to in all containers in the {backstage} Pod.
9+
By default, files mount only to the `backstage-backend` container. If the `containers` field is not specified, the volume mounts to the `backstage-backend` container only. You can also specify other targets, including a list of containers by name (such as `dynamic-plugin-install` or custom sidecars) or opt to in all containers in the {backstage} Pod.
1210

1311
. To mount extra files, apply the configuration to your `{product-custom-resource-type} custom resource (CR)` as shown in the following code:
1412
+
@@ -38,7 +36,7 @@ spec:
3836
mountPath: /my/secret2/path
3937
----
4038

41-
If the `containers` field is not specified, the volume mounts to the `backstage-backend` container only. The following explicit options are supported:
39+
The following explicit options are supported:
4240

4341
* No or empty field: Mounts only to the `backstage-backend` container.
4442
* `*` (asterisk) as the first and only array element: Mounts to all containers.

0 commit comments

Comments
 (0)