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

/opt/resource/check: line 30: get: command not found #1

Open
lodotek opened this issue Jan 21, 2022 · 0 comments
Open

/opt/resource/check: line 30: get: command not found #1

lodotek opened this issue Jan 21, 2022 · 0 comments

Comments

@lodotek
Copy link

lodotek commented Jan 21, 2022

IMG=$($KUBECTL get -o json "$resource_type/$resource_name" -n $namespace | jq -r '.spec.template.spec.containers[0].image')

Hello, thank you for providing this custom resource to the community.

I am curious if this is a typo on line 30? If not, where is $KUBECTL supposed to get set from?

image

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