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

Encapsulates Kubernetes resource manifests for an operator

Link to this section Summary

Functions

ClusterRole manifest

ClusterRoleBinding manifest

CRD manifests

Deployment manifest

ServiceAccount manifest

Link to this section 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