View Source Bonny.Mix.Operator (bonny v1.4.0)

Encapsulates Kubernetes resource manifests for an operator

Summary

Functions

ClusterRole manifest

ClusterRoleBinding manifest

CRD manifests

Deployment manifest

ServiceAccount manifest

Functions

@spec cluster_role([atom()]) :: map()

ClusterRole manifest

Link to this function

cluster_role_binding(namespace)

View Source
@spec cluster_role_binding(binary()) :: map()

ClusterRoleBinding manifest

@spec crds([atom()]) :: [map()]

CRD manifests

Link to this function

deployment(image, namespace)

View Source
@spec deployment(binary(), binary()) :: map()

Deployment manifest

@spec find_operators() :: [atom()]
Link to this function

service_account(namespace)

View Source
@spec service_account(binary()) :: map()

ServiceAccount manifest