Class ServiceBindingProcessor


  • public class ServiceBindingProcessor
    extends Object
    Processor that handles the generation of ServiceBinding resources. Generated ServiceBinding rules: 1. .metadata.name: When no user configuration is present then the combination [app.name] - [qualifier kind] - [qualifier name] will be used. Examples: - app-postgresql-default - app-mysql-default - app-mongodb-default 2. .spec.service[*].name: Since services are qualified using apiVersion, we don't need to carry over the [qualifier kind]. In this case the name is just [qualifier name].* Notes: The following pairs are equivalent: quarkus.kubernetes-service-binding.services.postgresql-default.xxx=yyy quarkus.kubernetes-service-binding.services.postgresql.xxx=yyy quarkus.kubernetes-service-binding.services.postgresql-persondb.xxx=yyy quarkus.kubernetes-service-binding.services.persondb.xxx=yyy When service are auto bound the minimal from (e.g. persondb) will be used. Users are still able to tune things using the [kind]-[name] combo to avoid naming clashes.