We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b05dc commit c4b013dCopy full SHA for c4b013d
dist/images/upgrade-ovs.sh
@@ -7,7 +7,7 @@ ENABLE_SSL=${ENABLE_SSL:-false}
7
POD_NAMESPACE=${POD_NAMESPACE:-kube-system}
8
OVN_VERSION_COMPATIBILITY=${OVN_VERSION_COMPATIBILITY:-}
9
10
-UPDATE_STRATEGY=`kubectl -n kube-system get ds ovs-ovn -o jsonpath='{.spec.updateStrategy.type}'`
+UPDATE_STRATEGY=`kubectl -n $POD_NAMESPACE get ds ovs-ovn -o jsonpath='{.spec.updateStrategy.type}'`
11
12
SSL_OPTIONS=
13
if [ "$ENABLE_SSL" != "false" ]; then
0 commit comments