...
Edit the values.yaml file to specify that the license file is contained in
hivemq-license
secret, which will be mounted to the directory/opt/hivemq/license
Code Block language yaml hivemq: ... secrets: # Secrets to mount to the HiveMQ pods. These can be mounted to existing directories without shadowing the folder contents as well. - name: hivemq-license path: /opt/hivemq/license ...
If there is no namespace for the HiveMQ, then create one and switch the
kubectl
context to itCode Block language bash kubectl create nsnamespace 'hivemq' kubectl ns hivemq config set-context --current --namespace='hivemq'
Create the secret with nave
hivemq-license
in the namespacehivemq
from the license filehivemq-2023.lic
Code Block language bash kubectl create secret generic 'hivemq-license' \ --from-file 'hivemq-license.lic' \ --namespace 'hivemq'
Install HiveMQ with the release name
hivemq-mine
from the Helm charthivemq-operator
to the namespacehivemq
and use parameter values from the filevalues.yaml
Code Block language bash helm upgrade 'hivemq-minerelease' \ --install 'hivemq/hivemq-operator' \ --namespace 'hivemq' \ --values 'values.yaml'
\uD83D\uDCCB Related articles
...
Filter by label (Content by label) | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|