Skip to content

Getting "'opts.calledFrom' is unset or empty" even when doing new(std.thisFile) #33

@patoarvizu

Description

@patoarvizu

I have the following lines in a jsonnet file

local tanka = import 'github.com/grafana/jsonnet-libs/tanka-util/main.libsonnet';
local helm = tanka.helm.new(std.thisFile);

And I'm seeing the 'opts.calledFrom' is unset or empty warning anyway.

image

I'm on the latest version (0.4.1), I'm running in Tanka mode, the chartfile.yaml file and the charts/ directory are there, and I have the dependency on https://github.com/grafana/jsonnet-libs.git pointing to master in jsonnetfile.json.

Also, running tk show ... on the command line works fine, both on the integrated terminal and on an external terminal.

Am I missing something? Is there a setting I can configure to make the warning go away?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions