mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

opae-nlb-demo name is more descriptive about the content and becomes base image agnostic. Also, set ENTRYPOINT similar to what we did with other images and deployment files. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
19 lines
608 B
Bash
Executable File
19 lines
608 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright 2019 Intel Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Invoke this script with a version as parameter
|
|
# and it will update all hard-coded image versions
|
|
# in the source code.
|
|
#
|
|
# Adapted from https://github.com/intel/pmem-csi/
|
|
|
|
if [ $# != 1 ] || [ "$1" = "?" ] || [ "$1" = "--help" ]; then
|
|
echo "Usage: $0 <image version>" >&2
|
|
exit 1
|
|
fi
|
|
|
|
sed -i -e "s;\(^TAG?*=\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/intel-[^ ]*:\)[^ ]*;\1$1;g" $(git grep -l '^TAG?*=\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/intel-[^ ]*:' Makefile deployments demo/*fpga*.yaml)
|