File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
helm-charts/nts-pool/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111 config-updater.sh : |
1212 #!/bin/sh
1313 curl --fail -H "Authorization: Bearer ${AUTHTOKEN}" "${CONFIGURL}" |
14- jq ' {"op": "replace", "path": "/data/servers.json", "value": "\(.)"}' |
15- curl --fail --cacert "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" \
14+ jq -c '[ {"op": "replace", "path": "/data/servers.json", "value": "\(.)"}] ' |
15+ curl --trace - --cacert "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" \
1616 --data-binary @- -X PATCH -H "Content-Type: application/json-patch+json" \
1717 -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
1818 "https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}/api/v1/namespaces/${NAMESPACE}/configmaps/${CONFIGMAP}"
You can’t perform that action at this time.
0 commit comments