Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ spec:
kind: Deployment
name: online-banking
services: <2>
- version: v1alpha1
group: example.com
kind: AccountService
name: prod-account-service
- version: v1alpha1
group: example.com
kind: AccountService
name: prod-account-service
----
<1> Specifies a list of service resources.
<2> The sample application that points to a Deployment or any other similar resource with an embedded PodSpec.
Expand All @@ -45,7 +45,7 @@ kind: ServiceBinding
metadata:
name: account-service
spec:
application: <1>
workload: <1>
apiVersion: apps/v1
kind: Deployment
name: online-banking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ spec:
apiVersion: example.com/v1alpha1
kind: AccountService
name: prod-account-service
application:
workload:
apiVersion: apps/v1
kind: Deployment
name: nodejs-app
----

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.
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.