Commit 1443c07 1 parent 622a008 commit 1443c07 Copy full SHA for 1443c07
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
ns=" openshift-storage"
4
4
5
- POD_TEMPLATE_LATEST =" /templates/pod.template.latest "
5
+ POD_TEMPLATE =" /templates/pod.template"
6
6
7
7
SED_DELIMITER=$( echo -en " \001" ) ;
8
8
safe_replace () {
9
9
sed " s${SED_DELIMITER}${1}${SED_DELIMITER}${2}${SED_DELIMITER} g"
10
10
}
11
11
12
- apply_latest_helper_pod () {
13
- < ${POD_TEMPLATE_LATEST } safe_replace " NAMESPACE" " $1 " | safe_replace " IMAGE_NAME" " $2 " | safe_replace " MUST_GATHER" " $HOSTNAME " > pod_helper.yaml
12
+ apply_helper_pod () {
13
+ < ${POD_TEMPLATE } safe_replace " NAMESPACE" " $1 " | safe_replace " IMAGE_NAME" " $2 " | safe_replace " MUST_GATHER" " $HOSTNAME " > pod_helper.yaml
14
14
oc apply -f pod_helper.yaml
15
15
}
16
16
@@ -27,7 +27,7 @@ deploy(){
27
27
echo " not able to find the rook's operator image. Skipping collection of ceph command output" | tee -a " ${BASE_COLLECTION_PATH} " /gather-debug.log
28
28
else
29
29
echo " creating helper pod" | tee -a " ${BASE_COLLECTION_PATH} " /gather-debug.log
30
- apply_latest_helper_pod " $ns " " $operatorImage "
30
+ apply_helper_pod " $ns " " $operatorImage "
31
31
fi
32
32
33
33
for node in ${nodes} ; do
File renamed without changes.
You can’t perform that action at this time.
0 commit comments