You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ rules:
254
254
255
255
# Service Binding
256
256
257
-
A Service Binding describes the connection between a [Provisioned Service](#provisioned-service) and a [Workload Projection](#workload-projection). It **MUST** be codified as a concrete resource type with API version `servicebinding.io/v1beta1` and kind `ServiceBinding`. An implementation **MAY** support other versions of this specification which define additional API versions. Multiple `ServiceBinding` objects can refer to the same service. Multiple `ServiceBinding` objects can refer to the same workload. For portability, the schema **MUST** comply to the exemplar CRD found [here][sb-crd].
257
+
A Service Binding describes the connection between a [Provisioned Service](#provisioned-service) and a [Workload Projection](#workload-projection). It **MUST** be codified as a concrete resource type with API version `servicebinding.io/v1` and kind `ServiceBinding`. An implementation **MAY** support other versions of this specification which define additional API versions. Multiple `ServiceBinding` objects can refer to the same service. Multiple `ServiceBinding` objects can refer to the same workload. For portability, the schema **MUST** comply to the exemplar CRD found [here][sb-crd].
258
258
259
259
> Note: Restricting service binding to resources within the same namespace is strongly recommended. Implementations that choose to support cross-namespace service binding must provide a security model that prevents attacks like privilege escalation and secret enumeration, as well as a deterministic way to declare target namespaces.
260
260
@@ -278,7 +278,7 @@ When updating the status of the `ServiceBinding`, the controller **MUST** set th
278
278
## Resource Type Schema
279
279
280
280
```yaml
281
-
apiVersion: servicebinding.io/v1beta1
281
+
apiVersion: servicebinding.io/v1
282
282
kind: ServiceBinding
283
283
metadata:
284
284
name: # string
@@ -312,7 +312,7 @@ status:
312
312
## Minimal Example Resource
313
313
314
314
```yaml
315
-
apiVersion: servicebinding.io/v1beta1
315
+
apiVersion: servicebinding.io/v1
316
316
kind: ServiceBinding
317
317
metadata:
318
318
name: account-service
@@ -337,7 +337,7 @@ status:
337
337
## Label Selector Example Resource
338
338
339
339
```yaml
340
-
apiVersion: servicebinding.io/v1beta1
340
+
apiVersion: servicebinding.io/v1
341
341
kind: ServiceBinding
342
342
metadata:
343
343
name: online-banking-frontend-to-account-service
@@ -366,7 +366,7 @@ status:
366
366
## Environment Variables Example Resource
367
367
368
368
```yaml
369
-
apiVersion: servicebinding.io/v1beta1
369
+
apiVersion: servicebinding.io/v1
370
370
kind: ServiceBinding
371
371
metadata:
372
372
name: account-service
@@ -428,7 +428,7 @@ When the `.spec.service.kind` attribute is `Secret` and `.spec.service.apiVersio
428
428
## Direct Secret Reference Example Resource
429
429
430
430
```yaml
431
-
apiVersion: servicebinding.io/v1beta1
431
+
apiVersion: servicebinding.io/v1
432
432
kind: ServiceBinding
433
433
metadata:
434
434
name: account-service
@@ -455,7 +455,7 @@ status:
455
455
456
456
# Workload Resource Mapping
457
457
458
-
A workload resource mapping describes how to apply [service binding](#service-binding) transformations to a [workload projection](#workload-projection). It **MUST** be codified as a concrete resource type (cluster scoped resource) with API version `servicebinding.io/v1beta1` and kind `ClusterWorkloadResourceMapping`. An implementation **MAY** support other versions of this specification which define additional API versions. For portability, the schema **MUST** comply to the exemplar CRD found [here][cwrm-crd].
458
+
A workload resource mapping describes how to apply [service binding](#service-binding) transformations to a [workload projection](#workload-projection). It **MUST** be codified as a concrete resource type (cluster scoped resource) with API version `servicebinding.io/v1` and kind `ClusterWorkloadResourceMapping`. An implementation **MAY** support other versions of this specification which define additional API versions. For portability, the schema **MUST** comply to the exemplar CRD found [here][cwrm-crd].
459
459
460
460
A workload resource mapping **MUST** define its name using [CRD syntax][crd-syntax] (`<plural>.<group>`) for the resource that it defines a mapping for. A workload resource mapping **MUST** define a `.spec.versions` which is an array of `MappingTemplate` fragments.
461
461
@@ -499,7 +499,7 @@ All other types and operators are disallowed, including but not limited to:
0 commit comments