Kubernetes Custom Resource Definition (CRD)
The Kubernetes CRD plugin (k8s/crd
) enables the use of Kubernetes-specific
custom resource definitions to trigger and specify the configuration for Secretless Broker.
By default, the CRD we use for the Secretless Broker is under configurations.secretless.io
.
Kubernetes API permissions
For this plugin to work, the broker must have ServiceAccount privileges on the deployment. |
The basic role configuration which allows Secretless Broker to work within a Kubernetes cluster without full cluster administrator permissions is below:
|
After defining the ServiceAccount
, ClusterRole
, and ClusterRoleBinding
, you can then use it in your deployment with a serviceAccountName
parameter:
|
Examples
Start broker and watch for secretless-example-config
resource in configurations.secretless.io
resource
namespace:
|
Any additions or updates of secretless-example-config
resource in configurations.secretless.io
CRD
namespace will trigger a reload of the broker:
You can find |
|