Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Now, update the HiveMQ Platform values.yaml and configure that license, keystore, trustore, and their passwords are taken from relevant secrets.
    Specify that the license should be taken from the secret hivemq-license-v

    Code Block
    languageyaml
    # Configures the HiveMQ License information.
    license:
      create: false
      name: "hivemq-license-v"
      data: ""
      overrideLicense: ""

    Specify that the keystore should be taken from the secret hivemq-keystore-v

    Code Block
    languageyaml
      # Secure WebSocket service configuration
      - type: websocket
        exposed: true
        containerPort: 8000
        
        keystoreSecretName: "hivemq-keystore-v"
        keystoreSecretKey: "keystore"
    
        keystorePassword: ""
        keystorePrivatePassword: ""
    
        keystorePasswordSecretName: "hivemq-keystore-password-v"
        keystorePasswordSecretKey: "keystore.password"
        keystorePrivatePasswordSecretKey: "keystore.password"
        
        # Mutual TLS configuration values
        truststoreSecretName: "hivemq-truststore-v"
        truststoreSecretKey: "truststore"
        truststorePassword: ""
        truststorePasswordSecretName: "hivemq-truststore-password-v"
        tlsClientAuthenticationMode: "OPTIONAL"

    Example HiveMQ Platform values.yaml:

    View file
    namevalues-hivemq-platform.yaml

  2. Install the HiveMQ Platform Operator and HiveMQ Platform

    Code Block
    languagebash
    helm upgrade op --install hivemq/hivemq-platform-operator --set logLevel=DEBUG --namespace hivemq
    Code Block
    languagebash
    helm upgrade opbroker --install hivemq/hivemq-platform --values values-hivemq-platform.yaml --namespace hivemq

  3. Check the HiveMQ broker stateful set logs to make sure the license, keystore and trustore are applied correctly.

...