grafana / tanka

Flexible, reusable and concise configuration for Kubernetes
https://tanka.dev
Apache License 2.0
2.29k stars 164 forks source link

evaluator fails on windows file paths #551

Open meier-christoph opened 3 years ago

meier-christoph commented 3 years ago

When using commands that require evaluation with an EvalScript e.g. tk diff default --name foo on windows you get an error due to the file path separator.

Error: evaluating jsonnet: default:2:24-98 Unknown escape sequence in string literal: \g
  local main = (import 'C:\<path to project>\environments\default\main.jsonnet');

See: https://github.com/grafana/tanka/blob/master/pkg/tanka/evaluators.go#L27

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Duologic commented 3 years ago

/keepalive

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.