Add sslmode, sslcert, and sslkey for PostgreSQL RDBMS
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Start in PostgreSqlBindingsPropertiesProcessor.java, around line 111, where extra PostgreSQL JDBC options are already added to the URL, and check how the private-key and certificates secret entries are turned into file paths. Confirm whether the existing mechanism can carry sslkey and sslcert, then add them. Done means a postgresql binding with those entries produces a JDBC URL containing sslkey and sslcert pointing to the right files, with a test covering it.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
- When a Service Binding exists that provides
private-keyfor typepostgresqlthen spring cloud bindings should addsslkeyto the JDBC url that points to the file location that contains the contents for theprivate-key. - When a Service Binding exists that provides
certificatesfor typepostgresqlthen spring cloud bindings should addsslcertto the JDBC url that points to the file location that contains the contents for thecertificates.
I see there is already a way to add some additional DB options:
https://github.com/spring-cloud/spring-cloud-bindings/blob/7f20fb23ba134a58bf1733b1dce5f87fe9322e5b/spring-cloud-bindings/src/main/java/org/springframework/cloud/bindings/boot/PostgreSqlBindingsPropertiesProcessor.java#L111
I'm wondering if this can already be leveraged to add in missing parameters for sslcert and sslkey which are necessary for TLS Authentication to Postgres databases.
So this issue might just be documenting how to add those parameters, and how to populate them with a TLS certificate added through certificates and private-key are populated as well-known Secret Entries , but at first glance I don't think this functionality works properly.
- Linguagem predominante
- Java
- Estrelas
- 50
- Forks
- 33
- Merge médio
- 6d 2h
- PRs com merge (30d)
- 2
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de spring-cloud/spring-cloud-bindings
-
Dificuldade 3/5 Meio dia Facilidade para iniciantes 45/100
spring-cloud/spring-cloud-bindings#116 · 2 comentários · 1 reação ·
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 55/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 15/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 15/100
Todas as issues de spring-cloud/spring-cloud-bindings
Issues semelhantes
-
enhancement infra
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
Mantenedores costumam responder em até 1 dia
-
5.0.x backport bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
spring-cloud/spring-cloud-function#1569 ·
Mantenedores costumam responder em até 1 dia
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentTalvez já em andamento @olegz assumiu hoje. Abertatask
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
spring-cloud/spring-cloud-stream#3355 ·
Mantenedores costumam responder em até 1 dia
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpathAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
oracle/oci-java-sdk#803 ·
-
area:cpan-port area:performance bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#2230 ·
Mantenedores costumam responder em até 1 dia