Skip to content

Commit ae07f04

Browse files
committed
jlink-builder-template: move parameters above objects
I think it's slightly clearer (to a human) to see the template's parameters prior to the objects into which they are interpolated. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 262e386 commit ae07f04

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/jlink/jlink-builder/jlink-builder-template.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metadata:
55
annotations:
66
description: Template to produce an imagestream and buildconfig for a Jlink builder image
77
name: jlink-builder-template
8+
parameters:
9+
- description: JDK version to produce a jmods image and imagestream for
10+
name: JDK_VERSION
11+
value: "11"
12+
required: true
813
objects:
914
- apiVersion: image.openshift.io/v1
1015
kind: ImageStream
@@ -35,8 +40,3 @@ objects:
3540
to:
3641
kind: ImageStreamTag
3742
name: ubi9-openjdk-${JDK_VERSION}-jlink:latest
38-
parameters:
39-
- description: JDK version to produce a jmods image and imagestream for
40-
name: JDK_VERSION
41-
value: "11"
42-
required: true

0 commit comments

Comments
 (0)