Camunda 8 Optimize - Issues

Hi,
I have been trying to implement the Camunda Helm charts for Camunda 8 and I have managed to get the connectors, Operate , Identity and Tasklist running. However with Optimize, Even it being a Java application. I have not been able to change the server.ssl.enabled=true and server.port=8443. The application is not respecting the JVM options or Env variables

Please suggest

  • name: CONTAINER_PORTS_HTTPS
    value: “8443”
    • name: CONTAINER_PORTS_ACTUATOR
      value: “9443”
    • name: CONTAINER_KEYSTORE_LOCATION
      value: “/optimize/var/run/secrets/java.io/keystores/truststore.jks”
    • name: CONTAINER_KEYSTORE_PASSWORD
      value: “changeit”
    • name: server.ssl.enabled
      value: “true”
    • name: “server.ssl.trust-store”
      value: “/optimize/var/run/secrets/java.io/keystores/truststore.jks”
    • name: “server.ssl.trust-store-password”
      value: “changeit”
    • name: “server.ssl.trust-store-type”
      value: “JKS”
    • name: “keystore_jks”
      value: “/optimize/var/run/secrets/java.io/keystores/keystore.jks”
    • name: “server.ssl.key-store”
      value: “/optimize/var/run/secrets/java.io/keystores/keystore.jks”
    • name: “server.ssl.key-store-password”
      value: “changeit”
    • name: “JDK_JAVA_OPTIONS”
      value: “-Dserver.port=8443 -Dmanagement.server.port=9443 -Dserver.ssl.enabled=true -Djavax.net.ssl.trustStore=/optimize/var/run/secrets/java.io/keystores/truststore.jks -Djavax.net.ssl.trustStorePassword=changeit”
    • name: “CAMUNDA_OPTIMIZE_IDENTITY_BASE_URL”
      value: “https://camunda-platform-optimize-public/optimize

The same Env vars work for operate, identity and tasklist.

Hi @pavan_Kumar - Optimize has an irregular setup compared to the other applications, because it is also shared with Camunda 7. We are continually working to bring all the applications in aligment though!

I believe these are the configuration values you are looking for:

container:
  # A host name or IP address, to identify a specific network interface on
  # which to listen.
  host: ${CONTAINER_HOST:localhost}
  # Allows you to specify a custom context path. If set, must start with a leading '/'
  contextPath: ${CAMUNDA_OPTIMIZE_CONTEXT_PATH:null}
  ports:
    # A port number that will be used by Optimize to process HTTP connections.
    # If set to null, ~ or left empty, http connections won't be accepted.
    http: ${CAMUNDA_OPTIMIZE_CONTAINER_PORTS_HTTP:8090}
    # A port number that will be used by Optimize to process
    # secure HTTPS connections.
    https: ${CAMUNDA_OPTIMIZE_CONTAINER_PORTS_HTTPS:8091}
    # A port number that will be used by Optimize's Actuator management server
    # always defaults to 8092
    actuator: ${MANAGEMENT_SERVER_PORT:8092}
  # HTTPS requires an SSL Certificate. When you generate an SSL Certificate,
  # you are creating a keystore file and a keystore password for use when the
  # browser interface connects
  keystore:
    location: ${CAMUNDA_OPTIMIZE_CONTAINER_KEYSTORE_LOCATION:keystore.jks}
    password: ${CAMUNDA_OPTIMIZE_CONTAINER_KEYSTORE_PASSWORD:optimize}

The Given options are not working either :frowning:

Attching the logs and yaml files
deployment.yaml (10.1 KB)
optimize.yaml (16.9 KB)

global:
management:
server:
port: 9443
server:
port: 8443

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.