Bonny.Mix.Operator (bonny v1.5.0)

Copy Markdown View Source

Encapsulates Kubernetes resource manifests for an operator

Summary

Functions

ClusterRole manifest

ClusterRoleBinding manifest

CRD manifests

Deployment manifest

ServiceAccount manifest

Functions

cluster_role(operators)

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

ClusterRole manifest

cluster_role_binding(namespace)

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

ClusterRoleBinding manifest

crds(operators)

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

CRD manifests

deployment(image, namespace)

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

Deployment manifest

find_operators()

@spec find_operators() :: [atom()]

rbac_rules(operators)

service_account(namespace)

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

ServiceAccount manifest