-
Notifications
You must be signed in to change notification settings - Fork 437
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
[fluentd] Unable to install two charts in same namespace #170
Comments
If you can, please create the necessary modifications :) |
To proceed I need a clarification. Another solution could be to introduce two booleans in fluentd/values.yaml which manage whether these two config maps have to be created, and if needed, mount them with the names above. |
There is the case, if you want to use the image (that commits to elasticsearch directly) you would overwrite the env variables and it would use the one that comes with the container itself. Same for the container log mounts, it can be somewhere else, or you might want to use it in a different way, to tail other locations. In this case, what you can do is set it as a default (if no value is specified with on volume/volumeMounts) for the fluentd ConfigMaps yes, i want to be able to load configmaps from other places without needing to rewrite the full fluentd release each time! I'm still not sure what you are proposing tho. |
My proposal was to rename in file charts/fluentd/templates/fluentd-configurations-cm.yaml the config maps as:
My proposal was to remove these lines and add two values: |
I don't think this is so trivial like that. You will need to find a way to guaranttee that you can use the image directly: Why don't you cook something up so i can test it? |
@farnsworth you can use the tpl option to solve your doubts. See this link https://stackoverflow.com/questions/55958507/helm-templating-variables-in-values-yaml from the link:
|
PR #207 created |
Looks to me like a duplicate of #126. |
Fixed with: #305 |
I'm trying to install two times the fluentd chart in the same namespace, one with kind: "Deployment" and one with kind: "DaemonSet" (the first to manage a forward type source for external applications, the second to manage kubernetes logs).
This is not possible because all config maps have a fixed name and they they go into conflict.
Even if I can get around this by using two different namespaces, maybe it is better to use fluentd.fullname in the name of config maps.
If you agree with this, I can do a pull request.
The text was updated successfully, but these errors were encountered: