1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/applications/connecting_applications_to_services/projecting-binding-data.adoc
2025-11-20 17:24:32 +00:00

27 lines
1.4 KiB
Plaintext

:_mod-docs-content-type: ASSEMBLY
[id="projecting-binding-data"]
= Projecting binding data
include::_attributes/common-attributes.adoc[]
include::_attributes/servicebinding-document-attributes.adoc[]
:context: projecting-binding-data
toc::[]
[role="_abstract"]
This section provides information on how you can consume the binding data.
== Consumption of binding data
After the backing service exposes the binding data, for a workload to access and consume this data, you must project it into the workload from a backing service. {servicebinding-title} automatically projects this set of data into the workload in the following methods:
. By default, as files.
. As environment variables, after you configure the `.spec.bindAsFiles` parameter from the `ServiceBinding` resource.
include::modules/sbo-configuration-of-directory-path-to-project-binding-data.adoc[leveloffset=+1]
include::modules/sbo-projecting-the-binding-data.adoc[leveloffset=+1]
[role="_additional-resources"]
[id="additional-resources_projecting-binding-data-sbo"]
== Additional resources
* xref:../../applications/connecting_applications_to_services/exposing-binding-data-from-a-service.adoc#exposing-binding-data-from-a-service[Exposing binding data from a service].
* link:https://redhat-developer.github.io/service-binding-operator/userguide/using-projected-bindings/using-projected-bindings.html[Using the projected binding data in the source code of the application].