6.2.4. API differences
The CRD of the Service Binding Operator supports the following APIs:
-
Service Binding with the
binding.operators.coreos.comAPI group. -
Service Binding (Spec API) with the
servicebinding.ioAPI group.
Both of these API groups have similar features, but they are not completely identical. Here is the complete list of differences between these API groups:
| Feature | Supported by the binding.operators.coreos.com API group | Supported by the servicebinding.io API group | Notes |
|---|---|---|---|
| Binding to provisioned services | Yes | Yes | Not applicable (N/A) |
| Direct secret projection | Yes | Yes | Not applicable (N/A) |
| Bind as files | Yes | Yes |
|
| Bind as environment variables | Yes | Yes |
|
| Selecting workload with a label selector | Yes | Yes | Not applicable (N/A) |
|
Detecting binding resources ( | Yes | No |
The |
| Naming strategies | Yes | No |
There is no current mechanism within the |
| Container path | Yes | Partial |
Because a service binding of the |
| Container name filtering | No | Yes |
The |
| Secret path | Yes | No |
The |
| Alternative binding sources (for example, binding data from annotations) | Yes | Allowed by Service Binding Operator | The specification requires support for getting binding data from provisioned services and secrets. However, a strict reading of the specification suggests that support for other binding data sources is allowed. Using this fact, Service Binding Operator can pull the binding data from various sources (for example, pulling binding data from annotations). Service Binding Operator supports these sources on both the API groups. |