Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on first time ./setup.sh #4

Open
silviabotros opened this issue Dec 29, 2021 · 1 comment
Open

Error on first time ./setup.sh #4

silviabotros opened this issue Dec 29, 2021 · 1 comment

Comments

@silviabotros
Copy link

Hit this error when running ./setup.sh for the first time. Running it again without changing anything did not reproduce the issue.

Applying bonus node content

error: error executing jsonpath "{.items[].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
        template was:
                {.items[].metadata.name}
        object given to jsonpath engine was:
                map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}
@silviabotros
Copy link
Author

it is the next day and I needed to run clean setup again and hit the same error. I think it is tripping on some race condition that goes away on second run. I am just not sure what kubectl call it is making that is coming back with an empty array on first try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant