diff --git a/gocd/templates/bash/run-migrations.sh b/gocd/templates/bash/run-migrations.sh index 2cd964bf..a64657c9 100644 --- a/gocd/templates/bash/run-migrations.sh +++ b/gocd/templates/bash/run-migrations.sh @@ -16,7 +16,6 @@ run_migrations() { read -r -a broker_args < <(kubectl get deployment "$name" -o json \ | jq -r '.spec.template.spec.containers[] | select(.name == "taskbroker") | .args // [] | join(" ")') - # k8s-spawn-job appends "-<10-digit ts>" and the result is a pod label (max 63 chars), so drop "-broker" if ! k8s-spawn-job \ --label-selector="${label_selector}" \ --container-name="taskbroker" \