Skip to content

Commit 921a791

Browse files
committed
Updated the table
1 parent 36aa4de commit 921a791

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

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

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,42 +63,52 @@ The following explicit options are supported:
6363

6464
The files are mounted with the following paths and container targets:
6565

66+
[cols="1,2,3,2", options="header"]
6667
|===
67-
| Resource | Mount Path / Variable | Target Container(s)
68+
| Resource | Target type | Path(s) or name(s) | Container(s)
6869

69-
| File (`cm1`)
70+
| ConfigMap (`cm1`)
71+
| File
7072
| `/my/path/file11.txt`, `/my/path/file12.txt`
7173
| `backstage-backend` only
7274

73-
| File (`cm2`)
75+
| ConfigMap (`cm2`)
76+
| File
7477
| `/my/path/file21.txt`
7578
| All containers
7679

77-
| Directory (`cm3`)
78-
| `/my/cm3/path/` (Directory)
80+
| ConfigMap (`cm3`)
81+
| Directory
82+
| `/my/cm3/path/`
7983
| `backstage-backend`, `install-dynamic-plugins`
8084

81-
| Secrets (`secret1`)
85+
| Secret (`secret1`)
86+
| File
8287
| `/my/path/file3.txt`
83-
| `install-dynamic-plugins`
88+
| `install-dynamic-plugins` only
8489

85-
| Secrets (`secret2`)
86-
| `/my/secret2/path`
87-
| `backstage-backend`
90+
| Secret (`secret2`)
91+
| Directory
92+
| `/my/secret2/path/`
93+
| `backstage-backend` only
8894

8995
| PVC (`myclaim1`)
90-
| `/my/path/myclaim1` (Directory)
96+
| Directory
97+
| `/my/path/myclaim1`
9198
| `backstage-backend` only
9299

93-
| Env Var (`ENV_VAR1`)
100+
| ConfigMap (`cm1`)
101+
| Env Var
94102
| `ENV_VAR1 = 1`
95103
| All containers
96104

97-
| Env Var (`ENV_VAR3`, `ENV_VAR4`)
98-
| `ENV_VAR3`, `ENV_VAR4` (from `secret1`)
105+
| Secret (`secret1`)
106+
| Env Vars
107+
| `ENV_VAR3`, `ENV_VAR4`
99108
| `backstage-backend` only
100109

101-
| Env Var (`MY_VAR`)
110+
| CRD (`envs`)
111+
| Env Var
102112
| `MY_VAR = my-value`
103113
| `install-dynamic-plugins` only
104114
|===

0 commit comments

Comments
 (0)