kubectl resource builder: don't check extension for single files

`kubectl create -f filename` doesn't need to check the extension
of filename. This fixes that behavior.
This commit is contained in:
Jeff Lowdermilk 2015-07-07 13:43:55 -07:00
parent 97b3315e44
commit 005c60d3f5
1 changed files with 13 additions and 0 deletions

13
pod Normal file
View File

@ -0,0 +1,13 @@
# Copy of pod.yaml without file extension for test
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80