run inside cron-job folder
kubectl create configmap trigger --from-file=trigger-sync.sh
kubectl apply -f postgresql-connector-cron-job.yaml
{TOKEN_PLACEHOLDER}
should be generated with the jwt key atdeployment.md
kubectl run -it \
--image busybox \
--serviceaccount ${KSA_NAME} \
--namespace ${K8S_NAMESPACE} \
test-sync
export WEBHOOK=http://postgresql-connector:8080/sync
wget \
--header="Authorization: Bearer {TOKEN_PLACEHOLDER}" \
--post-data="{}" \
$WEBHOOK