Skip to content

Commit

Permalink
Deprecate Service Binding module
Browse files Browse the repository at this point in the history
Relates to: quarkusio#45916
  • Loading branch information
geoand committed Jan 28, 2025
1 parent eba4923 commit 194f8fe
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/src/main/asciidoc/deploying-to-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,8 @@ And this config map resource will be integrated into the generated `kubernetes.j

== Service Binding [[service_binding]]

WARNING: Service Binding support has been deprecated

Quarkus supports the link:https://github.com/servicebinding/spec[Service Binding Specification for Kubernetes] to bind services to applications.

Specifically, Quarkus implements the link:https://github.com/servicebinding/spec#workload-projection[Workload Projection] part of the specification, therefore allowing applications to bind to services, such as a Database or a Broker, without the need for user configuration.
Expand Down Expand Up @@ -1600,6 +1602,8 @@ For an example of a workload projection where the directory structure is include

== Introduction to the Service Binding Operator

WARNING: Service Binding support has been deprecated

The link:https://github.com/redhat-developer/service-binding-operator[Service Binding Operator] is an Operator that implements link:https://github.com/servicebinding/spec[Service Binding Specification for Kubernetes] and is meant to simplify the binding of services to an application. Containerized applications that support link:https://github.com/servicebinding/spec#workload-projection[Workload Projection] obtain service binding information in the form of volume mounts. The Service Binding Operator reads binding service information and mounts it to the application containers that need it.

The correlation between application and bound services is expressed through the `ServiceBinding` resources, which declares the intent of what services are meant to be bound to what application.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2519,6 +2519,8 @@ include::kafka-dev-ui.adoc[leveloffset=+1]

== Kubernetes Service Bindings

WARNING: Service Binding support has been deprecated

Quarkus Kafka extension supports
xref:deploying-to-kubernetes.adoc[Service Binding Specification for Kubernetes].
You can enable this by adding the `quarkus-kubernetes-service-binding` extension to your application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

@ConfigMapping(prefix = "quarkus.kubernetes-service-binding")
@ConfigRoot(phase = ConfigPhase.BUILD_TIME)
@Deprecated(forRemoval = true, since = "3.19")
public interface KubernetesServiceBindingConfig {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

@ConfigMapping(prefix = "quarkus.kubernetes-service-binding")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
@Deprecated(forRemoval = true, since = "3.19")
public interface KubernetesServiceBindingConfig {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ metadata:
- "kubernetes-service-binding"
categories:
- "cloud"
status: "preview"
status: "deprecated"
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* The qualifier does not encapsulate the target service coordinates, but information that given the right context can be mapped
* to coordinates.
*/
@Deprecated(forRemoval = true, since = "3.19")
public final class ServiceBindingQualifierBuildItem extends MultiBuildItem {

private final String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/**
* Build item that describes a kubernetes resource that the application needs to bind to.
*/
@Deprecated(forRemoval = true, since = "3.19")
public final class ServiceBindingRequirementBuildItem extends MultiBuildItem {

private final String binding;
Expand Down

0 comments on commit 194f8fe

Please sign in to comment.