fix CRI hook configuration in initcontainer

Current configuration has incorrect keywords that caused
CRI not to call prestart hook.
This commit is contained in:
Ed Bartosh 2018-09-11 15:34:38 +03:00
parent 7570313d21
commit c446c6cd8d

View File

@ -62,8 +62,8 @@ COPY ./$CRI_HOOK $CRI_HOOK_SRC
RUN echo -e "{\n\
\"hook\" : \"$CRI_HOOK_DST\",\n\
\"stages\" : [ \"prestart\" ],\n\
\"annotations\": [ \"fpga.intel.com/region\" ]\n\
\"stage\" : [ \"prestart\" ],\n\
\"annotation\": [ \"fpga.intel.com/region\" ]\n\
}\n">>$HOOK_CONF_SRC
# Setup