Skip to content

Commit 4ed526b

Browse files
authored
Merge pull request #1600 from itaru2622/hotfix_noproxy
update scripts/apply-hotfixes.sh for no_proxy support until openapi-generator v5.3.1 involved.
2 parents 31ebc8e + e8f77e7 commit 4ed526b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

scripts/apply-hotfixes.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,18 @@ else
6464
exit 1
6565
fi;
6666

67+
# Patching commit for no_proxy support
68+
# UPDATE: The commit being cherry-picked is updated kubernetes/client/ unless OpenAPI generator v5.3.1 involved (offinical support of no_proxy feature).
69+
# Ref: https://github.com/kubernetes-client/python/pull/1579/commits/95a893cd1c34de11a4e3893dd1dfde4a0ca30bdc and conversations in the PR.
70+
git cherry-pick -n 95a893cd1c34de11a4e3893dd1dfde4a0ca30bdc
71+
if [ $? -eq 0 ]
72+
then
73+
echo Succesfully patched changes for no_proxy support
74+
else
75+
echo Failed to patch changes for no_proxy support
76+
git restore --staged .
77+
exit 1
78+
fi;
79+
80+
6781
git commit -m "Apply hotfixes"

0 commit comments

Comments
 (0)