View Source Bonny.Operator (bonny v0.5.1)

Encapsulates Kubernetes resource manifests for an operator

Link to this section Summary

Functions

ClusterRole manifest

ClusterRoleBinding manifest

CRD manifests

Deployment manifest

ClusterRole rules

ServiceAccount manifest

Link to this section Functions

@spec cluster_role() :: map()

ClusterRole manifest

Link to this function

cluster_role_binding(namespace)

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

ClusterRoleBinding manifest

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

CRD manifests

Link to this function

deployment(image, namespace)

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

Deployment manifest

@spec rules() :: [map()]

ClusterRole rules

Link to this function

service_account(namespace)

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

ServiceAccount manifest