Skip to content

Commit d723d59

Browse files
committed
Use data-binary instead of binary-data
1 parent ed1b9c3 commit d723d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm-charts/nts-pool/templates/cron-config-updater.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data:
1313
curl --fail -H "Authentication: Bearer ${AUTHTOKEN}" "${CONFIGURL}" |
1414
jq '{"op": "replace", "path": "/data/servers.json", "value": "\(.)"}' |
1515
curl --fail --cacert "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" \
16-
--binary-data @- -X PATCH -H "Content-Type: application/json-patch+json" \
16+
--data-binary @- -X PATCH -H "Content-Type: application/json-patch+json" \
1717
-H "Authentication: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
1818
"https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}/api/v1/namespaces/${NAMESPACE}/configmaps/${CONFIGMAP}"
1919
---

0 commit comments

Comments
 (0)