Skip to content

Commit

Permalink
convert map to slice
Browse files Browse the repository at this point in the history
Signed-off-by: Michelle Nguyen <[email protected]>
  • Loading branch information
aimichelle committed Jun 20, 2023
1 parent b0ae0e2 commit 01fedbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/operator_build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ kustomize build "$(pwd)/k8s/operator/deployment/base" -o "${kustomize_dir}"
#shellcheck disable=SC2016
faq -f yaml -o yaml --slurp '
.[0].metadata.name = $name |
.[0].metadata.annotations = [{"olm.skipRange": ">=0.1.1 <0.1.4"}] |
.[0].metadata.annotations = {"olm.skipRange": ">=0.1.1 <0.1.4"} |
.[0].spec.version = $version |
.[0].spec.install = {strategy: "deployment", spec:{
deployments: [{name: .[1].metadata.name, spec: .[1].spec }],
Expand Down

0 comments on commit 01fedbe

Please sign in to comment.