Skip to content

Commit a231afc

Browse files
committed
Address review comments to genereat random secret value
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent 021931f commit a231afc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

templates/jlink/jlinked-app.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ parameters:
2121
- description: Context Dir to use for the jlink workflow
2222
name: CONTEXT_DIR
2323
required: true
24+
- description: A secret string used to configure the GitHub webhook
25+
name: GITHUB_WEBHOOK_SECRET
26+
generate: expression
27+
from: "[a-zA-Z0-9]{16}"
28+
required: true
29+
message: "... The GitHub webhook secret is ${GITHUB_WEBHOOK_SECRET} ..."
2430
##############################################################################
2531
# Following are the objects(imagestream and buildconfigs) for all the 3-stages
2632
objects:
@@ -114,7 +120,7 @@ objects:
114120
name: ubi9-openjdk-${JDK_VERSION}-jlink:latest # Output of stage-1 which serves as input to stage-2
115121
- type: GitHub
116122
github:
117-
secret: Gvw2O0tXuaAUxleJ
123+
secret: ${GITHUB_WEBHOOK_SECRET}
118124
event: push
119125
##############################################################################
120126
# stage-3: The ubi-micro ImageStream

0 commit comments

Comments
 (0)