newrelic-kubernetes-operator
newrelic-kubernetes-operator copied to clipboard
Add default values for attributes that should have a default value
Objective
Certain properties of the Alert Policy definition should have default values in case the user doesn't need/want to set them.
As an example, the following properties currently do not have defaults, but maybe they should (loosely based on the relevant Terraform provider schemas).
Policy
and NrqlAlertCondition
-
spec.api_key
(maybe we can use our env variable with the kubernetes setup?)
NrqlAlertCondition
-
spec.nrql
-
spec.enabled
- maybe others?