Apicurio / apicurio-registry-operator

The Kubernetes Operator for Apicurio Registry.
Apache License 2.0
43 stars 38 forks source link

Update deprecated/unsupported Quarkus Http TLS options #255

Closed avi5kdonrh closed 3 months ago

avi5kdonrh commented 3 months ago

Fixes #254

With the Quarkus version upgrade the supporting TLS options also changed.

It no longer uses

quarkus.http.ssl.certificate.key-file quarkus.http.ssl.certificate.file

https://quarkus.io/guides/http-reference#configuring-the-http-server-directly

jsenko commented 3 months ago

Thank you for reporting the issue and contributing a fix.

In the meantime before the fix is released, the following workaround can be used:

apiVersion: registry.apicur.io/v1
kind: ApicurioRegistry
metadata:
  name: example
  namespace: default
spec:
  configuration:
    env:
      - name: JAVA_OPTS_APPEND
        value: '-Dquarkus.http.ssl.certificate.files=/certs/tls.crt -Dquarkus.http.ssl.certificate.key-files=/certs/tls.key'
    security:
      https:
        secretName: https-cert-secret
  # ...

The log message will however still be present.