Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit d88882f

Browse files
committed
docs: use workload terminology for spec API
The specification hasn't used the noun "application" to refer to workloads for a little while, but our documentation still had a few references to that terminology. This changes them to use "workload" instead. Signed-off-by: Andy Sadler <[email protected]>
1 parent 6c77cd8 commit d88882f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/userguide/modules/binding-workloads-using-sbo/pages/creating-service-binding.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ spec:
2929
kind: Deployment
3030
name: online-banking
3131
services: <2>
32-
- version: v1alpha1
33-
group: example.com
34-
kind: AccountService
35-
name: prod-account-service
32+
- version: v1alpha1
33+
group: example.com
34+
kind: AccountService
35+
name: prod-account-service
3636
----
3737
<1> Specifies a list of service resources.
3838
<2> The sample application that points to a Deployment or any other similar resource with an embedded PodSpec.
@@ -45,15 +45,15 @@ kind: ServiceBinding
4545
metadata:
4646
name: account-service
4747
spec:
48-
application: <1>
49-
apiVersion: apps/v1
50-
kind: Deployment
51-
name: online-banking
52-
5348
service:
5449
apiVersion: example.com/v1alpha1
5550
kind: AccountService
5651
name: prod-account-service
52+
53+
workload: <1>
54+
apiVersion: apps/v1
55+
kind: Deployment
56+
name: online-banking
5757
----
5858
<1> The application resource is a deployment resource with the name `online-banking`.
5959

docs/userguide/modules/exposing-binding-data/pages/provisioned-service.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ spec:
6969
apiVersion: example.com/v1alpha1
7070
kind: AccountService
7171
name: prod-account-service
72-
application:
72+
workload:
7373
apiVersion: apps/v1
7474
kind: Deployment
7575
name: nodejs-app
7676
----
7777

78-
This method exposes all the keys in the `production-db-secret` referenced `Secret` resource as binding data that is to be projected into the workload.
78+
This method exposes all the keys in the `production-db-secret` referenced `Secret` resource as binding data that is to be projected into the workload.

0 commit comments

Comments
 (0)