newrelic-kubernetes-operator icon indicating copy to clipboard operation
newrelic-kubernetes-operator copied to clipboard

Add default values for attributes that should have a default value

Open sanderblue opened this issue 4 years ago • 0 comments

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?

sanderblue avatar May 27 '20 00:05 sanderblue