hivemq/helm-charts

Cannot read environment variable from ConfigMap or Secret

Opened this issue · 0 comments

The env section in the hivemqCluster CRD only allows for key and value:

"env": {
"description": "Additional environment variables for the cluster",
"type": "array",
"items": {
"type": "object",
"javaType": "com.hivemq.openapi.spec.Env",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
},

When I want to set the Control Center user and password from a secret, this is obviously not possible. It is only possible to set it directly in the CRD, which lacks flexibility and security (user/password (hashed) in Git).