Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read environment variable from ConfigMap or Secret #22

Open
hertfelder opened this issue Jun 11, 2021 · 0 comments
Open

Cannot read environment variable from ConfigMap or Secret #22

hertfelder opened this issue Jun 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@hertfelder
Copy link

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).

@hurtadosanti hurtadosanti added the enhancement New feature or request label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants