diff --git a/pkg/rpaas/client/internal_client.go b/pkg/rpaas/client/internal_client.go index ca0b5602..bb10c01b 100644 --- a/pkg/rpaas/client/internal_client.go +++ b/pkg/rpaas/client/internal_client.go @@ -203,6 +203,11 @@ func (c *client) newRequestWithQueryString(method, pathName string, body io.Read c.baseAuthHeader(request.Header) + rpaasDisableValidation := os.Getenv("RPAAS_DISABLE_VALIDATION") + if rpaasDisableValidation != "" { + request.Header.Set("X-Rpaas-Disable-Validation", rpaasDisableValidation) + } + return request, nil }