Reputation: 1857
What does the last - (following -f
) mean in the following command:
kustomize build config/samples | kubectl apply -f -
Upvotes: 1
Views: 547
Reputation: 18582
Snippet from kubectl documentation:
Apply the JSON passed into stdin to a pod
cat pod.json | kubectl apply -f -
Upvotes: 2