calm-ability-6566
04/10/2024, 11:00 AMpulumi preview
command due to an rancher admission webhook which doesn't support dry runs for k8s services.
Diagnostics:
kubernetes:core/v1:Service (service):
error: Preview failed: 1 error occurred:
* the Kubernetes API server reported that "<namespace>/<service name>" failed to fully initialize or become live: admission webhook "rancher-externalip-webhook.rancher-externalip-webhook.svc" does not support dry run
Is there a way to prevent pulumi from doing a dry run for that single resource?miniature-musician-31262
04/10/2024, 7:46 PMpulumi.runtime.isDryRun()
-- e.g., for Node.js: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/functions/runtime.isDryRun.html