https://pulumi.com logo
#general
Title
# general
w

worried-city-86458

10/01/2019, 7:49 PM
Another issue highlighted with the prometheus operator helm chart... The test that fails specifies
restartPolicy: Never
but pulumi times out after waiting > 10m for it to become ready, which is both pointless and painful.
Using the following transformation:
Copy code
function fixGrafanaTest(obj: any) {
    if (obj.metadata.name === "po-grafana-test") {
        if (obj.kind === "Pod") {
            obj.metadata.annotations = {
                "<http://pulumi.com/skipAwait|pulumi.com/skipAwait>": "true"
            };
        }
    }
}
I'm still wondering if pulumi could be smarter here and take into account the restart policy to stop waiting after first (and only) failure