evryfs/github-actions-runner-operator

Add defaults to CRD

Closed this issue · 4 comments

https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#defaulting - when moving to apiextensions.k8s.io/v1 also add defaults for:

  • reconciliationPeriod (1m)
  • minRunners (1)
  • maxRunners (1)

Per this, how much of the pod spec template is required?

Not sure I follow? Do you mean how much is required to be defined as of today?
if so, min and max.

Not sure I follow? Do you mean how much is required to be defined as of today?
if so, min and max.

Exactly. Good to know, the example just makes it seem as if everything is required at this second. Ty!

Thanks, added docs in 7c66110