-
Hello! I'm trying to deploy Vector via helm chart. labels:
k8s_container_name: {{ kubernetes.container_name }} But this configuration crashes with the help error, Helm does not see the kubernetes.container_name function. k8s_container_name: '"{{ "{{" }} kubernetes.container_name {{ "}}" }}"' However, now the following value is in the config map: k8s_pod_namespace: '"{{ kubernetes.pod_namespace }}"' Unfortunately, with a single quote, vector does not see this configuration and I do not receive any logs at all Could you help me please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I believe:
Should work. I would check what the config map ends up being rendered with. |
Beta Was this translation helpful? Give feedback.
-
Solution that works for me "k8s_pod_name": "{{`{{kubernetes.k8s_pod_name}}`}}" |
Beta Was this translation helpful? Give feedback.
Solution that works for me