File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ extract_operator_from_csv() {
253253 | .metadata.namespace = \" ${namespace} \"
254254 | del(.name)
255255 | del(.label)
256+ | .spec.template.spec.containers[0].env += [{\" name\" : \" SRIOV_CNI_BIN_PATH\" , \" value\" : \" /run/cni/bin\" }]
256257 " " ${csv} " > " ${target} "
257258}
258259
@@ -305,6 +306,7 @@ extract_sriov_manifests() {
305306 local operator=" ${STAGING_SRIOV} /${OPERATOR_FILENAME} "
306307 echo " generating ${operator} "
307308 extract_operator_from_csv " ${STAGING_SRIOV} /${CSV_FILENAME} " " ${NAMESPACE} " " ${operator} "
309+ # TODO need to patch the env vars to add SRIOV_CNI_BIN_PATH to /run/cni/bin
308310
309311 local namespace=" ${STAGING_SRIOV} /namespace.yaml"
310312 echo " generating ${namespace} "
You can’t perform that action at this time.
0 commit comments