You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to configure dynamic Kafka topics based on Kubernetes metadata (kubernetes_logs source) while deploying Vector via the official Helm chart, there is a syntax collision between Helm (Go templates) and Vector's native templating syntax ({{ ... }}).To ReproduceConfiguring the topic field inside values.yaml under customConfig like this:yamltopic: '{{ kubernetes.node.labels.kubcluster_name }}-{{ kubernetes.namespace }}'
Используйте код с осторожностью.Causes Helm to fail during helm template or execution phase with the following error:texterror calling tpl: cannot parse template ... template: gotpl:18: function "kubernetes" not defined
How to define kafka topic like this '%{[kubernetes.node.labels.kubcluster_name]}-%{[kubernetes.namespace]}'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to configure dynamic Kafka topics based on Kubernetes metadata (kubernetes_logs source) while deploying Vector via the official Helm chart, there is a syntax collision between Helm (Go templates) and Vector's native templating syntax ({{ ... }}).To ReproduceConfiguring the topic field inside values.yaml under customConfig like this:yamltopic: '{{ kubernetes.node.labels.kubcluster_name }}-{{ kubernetes.namespace }}'
Используйте код с осторожностью.Causes Helm to fail during helm template or execution phase with the following error:texterror calling tpl: cannot parse template ... template: gotpl:18: function "kubernetes" not defined
How to define kafka topic like this '%{[kubernetes.node.labels.kubcluster_name]}-%{[kubernetes.namespace]}'
Beta Was this translation helpful? Give feedback.
All reactions