mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
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:
13
examples/pod
Normal file
13
examples/pod
Normal 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
|
Reference in New Issue
Block a user