Skip to content

Commit c2bff84

Browse files
authored
Merge pull request #1498 from zapman449/zapman449/update-hotfix-script-1497
update the hotfix script for tolerating null sources on projected volumes
2 parents a1fbb70 + 29729af commit c2bff84

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/apply-hotfixes.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,17 @@ else
7474
exit 1
7575
fi;
7676

77+
# Patching commits for Tolerating Null Sources on Projected Volumes
78+
# TODO: remove this patch when we release v20 clients
79+
# Ref: https://github.com/kubernetes-client/python/pull/1497
80+
git cherry-pick -n f3dbc8cbf1ab2aaf5e3bd8c0f0fc068e67823971
81+
if [ $? -eq 0 ]
82+
then
83+
echo Succesfully patched changes for Tolerating Null Sources on Projected Volumes
84+
else
85+
echo Failed to patch changes for Tolerating Null Sources on Projected Volumes
86+
git restore --staged .
87+
exit 1
88+
fi;
89+
7790
git commit -m "Apply hotfixes"

0 commit comments

Comments
 (0)