Skip to content

Commit c413a28

Browse files
committed
templates: add JDK21 to generateImageStreamTemplates
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent a4304bb commit c413a28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/generateImageStreamTemplates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def renderImageStream(os,
6262
nameFn=lambda os,v: "{}-openjdk-{}".format(os,v),
6363
variant='builder',
6464
displayNameFn=lambda v: False,
65+
jdkVers=[8,11,17,21],
6566

6667
# the following flags are passed through to renderTags
6768
imageTags=False,
@@ -83,7 +84,7 @@ def renderImageStream(os,
8384
displayName=displayNameFn(v),
8485
description=descriptionFn(v),
8586
))
86-
for v in [8,11,17]
87+
for v in jdkVers
8788
])
8889

8990
##############################################################################

0 commit comments

Comments
 (0)