confluentinc / control-center-images

Docker images for enterprise control center images
Apache License 2.0
19 stars 12 forks source link

Cannot set "confluent.controlcenter.ui.basepath" #53

Open mkrum001 opened 2 years ago

mkrum001 commented 2 years ago

Is it possible to allow configuration of this parameter?

Control-center configuration reference: https://docs.confluent.io/platform/current/control-center/installation/configuration.html

mkrum001 commented 2 years ago

I see that it is working fine with 7.1.1 image...

sergeygalaxy commented 2 years ago

Have issue with setting that either, on both:

- confluentinc/cp-enterprise-control-center:7.1.2
- confluentinc/cp-enterprise-control-center:7.2.0

images.

I tried to override configuration with the following:

apiVersion: platform.confluent.io/v1beta1
kind: ControlCenter
configOverrides:
    server:
      ....
      - confluent.controlcenter.ui.basepath=/cc/

But after control center starts, then it is shutting down with the following INFO [control-center-shutdown-hook] Shutting down due to shutdown hook signal (io.confluent.controlcenter.application.AllControlCenter)

My assumption liveness/readiness probes do not respect basepath, due to it seems control center successfully starts by itself. Specifically this one: [2022-07-16 02:33:35,251] INFO [qtp72795450-143] 172.17.0.1 - - [16/Jul/2022:02:33:35 +0000] "GET /2.0/status/app_info HTTP/1.1" 200 158 "-" "kube-probe/1.23" 1 (io.confluent.rest-utils.requests)