mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
fix CRI hook configuration in initcontainer
Current configuration has incorrect keywords that caused CRI not to call prestart hook.
This commit is contained in:
parent
7570313d21
commit
c446c6cd8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user