Alert Policy: region
does not have a default
#70
Labels
Projects
Milestone
region
does not have a default
#70
Description
Currently a user is required to supply the
region
field as part of thespec
for thePolicy
configuration. This should be not required.If the user does not explicitly set a
region
, the default value ofUS
should be used.Current behavior
When executing
kubectl apply -f ./my-alert-policy.yaml
, the operation appears to have succeeded, however the policy is not created and an error occurs under the hood.Steps To Reproduce
Steps to reproduce the behavior:
yaml
to configure a minimal Alert Policy (my-alert-policy.yaml
)kubectl describe nodes -n newrelic-kubernetes-operator-system | grep controller-manager
policy.nr.k8s.newrelic.com/my-policy created
, however an error occurred and the policy does not exist in New Relic."error":"unknown region"
Debug Output (if applicable)
The text was updated successfully, but these errors were encountered: