newrelic-kubernetes-operator
newrelic-kubernetes-operator copied to clipboard
kubectl apply succeeds when using invalid API key
Description
When using an invalid API key, kubectl apply
doesn't exit/fail if an error occurs while provisioning New Relic resources.
Current behavior
Running kubectl apply
succeeds when using an alert policy configuration that uses an invalid API key.
Expected behavior
The apply should fail to succeed, or at a minimum an error message should be displayed to the user even if the process succeeds.