bonny v0.4.1 DeploymentEventLogController

This is a goofy config, but it makes this work in dev w/o having to POST an Example CRD.

This controller simply logs lifecycle events on Deployments.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the Bonny.CRD.t() the controller manages the lifecycle of.

A list of RBAC rules that this controller needs to operate.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

crd()
crd() :: %Bonny.CRD{
  additional_printer_columns: term(),
  group: term(),
  names: term(),
  scope: term(),
  version: term()
}

Returns the Bonny.CRD.t() the controller manages the lifecycle of.

Link to this function

list_operation()
list_operation() :: K8s.Operation.t()

Link to this function

rules()
rules() :: [map()]

A list of RBAC rules that this controller needs to operate.

This list will be serialized into the operator manifest when using mix bonny.gen.manifest.

Link to this function

track_event(type, resource)