how to set a env key when the key have many values #9039
Answered
by
kezhenxu94
jiangxiaobai
asked this question in
Q&A
-
helm install skywalking skywalking/skywalking -n skywalking --set oap.env.SW_OTEL_RECEIVER=default --set oap.env.SW_OTEL_RECEIVER_ENABLED_HANDLERS=oc --set oap.env.SW_OTEL_RECEIVER_ENABLED_OC_RULES="istio-controlplane,k8s-node,k8s-cluster,k8s-service,oap,vm" -f values-sw-es.yamlError: failed parsing --set data: key "k8s-node" has no value (cannot end with ,) |
Beta Was this translation helpful? Give feedback.
Answered by
kezhenxu94
May 13, 2022
Replies: 1 comment 1 reply
-
@jiangxiaobai this is a general question of Helm, not SkyWalking, please Google it or ask it in Helm community next time. For developers, usually when a character is treated with special meaning you can escape it by |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kezhenxu94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jiangxiaobai this is a general question of Helm, not SkyWalking, please Google it or ask it in Helm community next time.
For developers, usually when a character is treated with special meaning you can escape it by
\
, and just a simple Google search can confirm https://www.google.com.hk/search?client=safari&rls=en&q=helm+set+value+with+comma&ie=UTF-8&oe=UTF-8helm/helm#1556 (comment)