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

default values of k8s helm chart #552

Closed
wants to merge 1 commit into from
Closed

default values of k8s helm chart #552

wants to merge 1 commit into from

Conversation

gaal-dev
Copy link

Hello. I've got the same error.

#543

"$ helm install redis-commander -f ./values.yaml . -n redis
And get error:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in ConfigMap.data.local-production.json"

It happens here because connections does not have any local_production_json value

configmap.yaml:
local-production.json: {{ .Values.connections.local_production_json | toJson }}

Please, add this fix. It works for me.

connections:
local_production_json: ""

sseide added a commit to sseide/redis-commander that referenced this pull request Jan 26, 2024
@sseide
Copy link
Collaborator

sseide commented Jan 26, 2024

Hello,

can you test again with latest version?
The handling of possible config file from configmap is changed now. Config map is only referenced if needed within the deployment.

@gaal-dev
Copy link
Author

Hello, can you test again with latest version?

It works :)

@gaal-dev gaal-dev closed this Jan 26, 2024
@gaal-dev
Copy link
Author

Tested and closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants