File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
helm-charts/nts-pool/templates Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ metadata:
1010data :
1111 config-updater.sh : |
1212 #!/bin/sh
13- 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" \
16- --data-binary @- -X PATCH -H "Content-Type: application/json-patch+json" \
17- -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
18- "https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}/api/v1/namespaces/${NAMESPACE}/configmaps/${CONFIGMAP}"
13+ curl --fail -H "Authorization: Bearer ${AUTHTOKEN}" "${CONFIGURL}" -vv
14+ # jq '{"op": "replace", "path": "/data/servers.json", "value": "\(.)"}' |
15+ # curl --fail --cacert "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" \
16+ # --data-binary @- -X PATCH -H "Content-Type: application/json-patch+json" \
17+ # -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
18+ # "https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}/api/v1/namespaces/${NAMESPACE}/configmaps/${CONFIGMAP}"
1919 ---
2020apiVersion : batch/v1
2121kind : CronJob
Original file line number Diff line number Diff line change @@ -100,3 +100,5 @@ spec:
100100 value : " false"
101101 - name : RESTART_BUMP
102102 value : " {{ default 1 .Values.management.restartBump}}"
103+ - name : RUST_LOG
104+ value : " trace"
You can’t perform that action at this time.
0 commit comments