Skip to content

Commit

Permalink
fix(KFLUXBUGS-1614): fbc pipeline should stop passing binaryImage to iib
Browse files Browse the repository at this point in the history
this commit removes the passing of the binaryImage parameter
to IIB, so it can auto resolve it.
  • Loading branch information
theflockers committed Sep 12, 2024
1 parent ab209d9 commit cacf64e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ spec:
type: string
description: ->
Index image (catalog of catalogs) the FBC fragment will be added to
- name: binaryImage
type: string
description: ->
OCP binary image to be baked into the index image. This image is used to
serve the index image content on customer clusters.
- name: buildTags
type: string
description: ->
Expand Down Expand Up @@ -178,7 +173,6 @@ spec:
{
"fbc_fragment": "$(params.fbcFragment)",
"from_index": "$(params.fromIndex)",
"binary_image": "$(params.binaryImage)",
"build_tags": `echo $(params.buildTags)`,
"add_arches": `echo $(params.addArches)`,
"overwrite_from_index": ${fbcOptIn},
Expand All @@ -188,7 +182,6 @@ spec:
# filtering out empty params
jq -r '
if .binary_image == "" then del(.binary_image) else . end |
if .overwrite_from_index == false then del(( .overwrite_from_index, .overwrite_from_index_token)) else . end |
if(.add_arches | length) == 0 then del(.add_arches) else . end |
if(.build_tags | length) == 0 then del(.build_tags) else . end' ${json_raw_input} > ${json_input}
Expand Down

0 comments on commit cacf64e

Please sign in to comment.