bonny icon indicating copy to clipboard operation
bonny copied to clipboard

mix bonny.gen.manifest add an override callback

Open mruoss opened this issue 2 years ago • 0 comments

Add a callback to mix bonny.gen.manifest that lets users override the generated resources.

Example

def override_resource(%{"apiVersion" => "rbac.authorization.k8s.io/v1", "kind" => "ClusterRole"}), 
  do: #overrides

def override_resource(%{"apiVersion" => "v1", "kind" => "ServiceAccount"}),
  do: #overrides

mruoss avatar Sep 06 '22 09:09 mruoss