Remove kubectl dry-run verify for now.

The dry-run fails now because we are trying to install a CRD and a custom resource (of that CRD type) in the same step.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-09-14 13:41:21 -05:00
parent 3344b5b86a
commit fc220d5f79
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -189,7 +189,6 @@ ytt --file . \
--data-value "webhook_ca_bundle=$webhook_ca_bundle" \ --data-value "webhook_ca_bundle=$webhook_ca_bundle" \
--data-value "discovery_url=$discovery_url" >"$manifest" --data-value "discovery_url=$discovery_url" >"$manifest"
kubectl apply --dry-run=client -f "$manifest" # Validate manifest schema.
kapp deploy --yes --app "$app_name" --diff-changes --file "$manifest" kapp deploy --yes --app "$app_name" --diff-changes --file "$manifest"
popd >/dev/null popd >/dev/null