kubectl 1.14 does not support pod as argument (part 2)
@@ -39,7 +39,7 @@ main() {
keyring_plugin_must_be_in_use "$cluster"
mountpt=$(kubectl get -f "$conf_dir/vault-secret.yaml" -o json | egrep -o "secret_mount_point = \w+" | awk -F "=[ ]*" '{print $2}')
- transition_keys=$(kubectl exec --namespace="$vault1" -it pod/$vault1-0 -- sh -c "
+ transition_keys=$(kubectl exec --namespace="$vault1" -it $vault1-0 -- sh -c "
VAULT_TOKEN=$token1 vault kv list -format=json $mountpt/backup/" \
| jq_filter "$mountpt/backup/")
