Skip to content

Commit ef01b64

Browse files
authored
Merge pull request #37816 from opayne1/BZ1983992-part-1
BZ1983992: Rearranges TOC for clarity on secrets
2 parents 1cebb04 + 8371dd0 commit ef01b64

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

cicd/builds/creating-build-inputs.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ include::modules/builds-binary-source.adoc[leveloffset=+1]
5151

5252
include::modules/builds-input-secrets-configmaps.adoc[leveloffset=+1]
5353

54+
include::modules/builds-secrets-overview.adoc[leveloffset=+2]
55+
56+
include::modules/builds-creating-secrets.adoc[leveloffset=+2]
57+
58+
include::modules/builds-using-secrets.adoc[leveloffset=+2]
59+
5460
include::modules/builds-adding-input-secrets-configmaps.adoc[leveloffset=+2]
5561

5662
include::modules/builds-source-to-image.adoc[leveloffset=+2]
@@ -72,11 +78,9 @@ include::modules/builds-using-build-fields-as-environment-variables.adoc[levelof
7278

7379
include::modules/builds-using-secrets-as-environment-variables.adoc[leveloffset=+2]
7480

75-
include::modules/builds-secrets-overview.adoc[leveloffset=+1]
76-
77-
include::modules/builds-creating-secrets.adoc[leveloffset=+2]
81+
.Additional resources
7882

79-
include::modules/builds-using-secrets.adoc[leveloffset=+3]
83+
* xref:../../cicd/builds/creating-build-inputs.adoc#builds-input-secrets-configmaps_creating-build-inputs[Input secrets and config maps]
8084

8185
include::modules/builds-service-serving-certificate-secrets.adoc[leveloffset=+1]
8286

modules/builds-using-secrets-as-environment-variables.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
You can make key values from secrets available as environment variables using the `valueFrom` syntax.
99

10+
[IMPORTANT]
11+
====
12+
This method shows the secrets as plain text in the output of the build pod console. To avoid this, use input secrets and config maps instead.
13+
====
14+
1015
.Procedure
1116

1217
* To use a secret as an environment variable, set the `valueFrom` syntax:

0 commit comments

Comments
 (0)