Skip to content

Commit 246f28f

Browse files
Merge pull request #62 from edenlabllc/release/v1.35.1
Release/v1.35.1
2 parents b9f34f3 + b93d0d2 commit 246f28f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/annotate-k8s-resource.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ if [[ "${K8S_RESOURCE_TYPE}" == "pod" ]]; then
2424
exit 0
2525
fi
2626
for POD in "${PODS}"; do
27-
kubectl --namespace "${K8S_NAMESPACE}" annotate --overwrite pod "${POD}" "${K8S_ANNOTATIONS[@]}"
27+
kubectl --namespace "${K8S_NAMESPACE}" annotate --overwrite pod "${POD}" ${K8S_ANNOTATIONS}
2828
done
2929
else
30-
kubectl --namespace "${K8S_NAMESPACE}" annotate --overwrite "${K8S_RESOURCE_TYPE}" "${K8S_RESOURCE_NAME}" "${K8S_ANNOTATIONS[@]}"
30+
kubectl --namespace "${K8S_NAMESPACE}" annotate --overwrite "${K8S_RESOURCE_TYPE}" "${K8S_RESOURCE_NAME}" ${K8S_ANNOTATIONS}
3131
fi

0 commit comments

Comments
 (0)