mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 05:02:50 +00:00
Test that kubectl apply update annotation only if apply is already called
This commit is contained in:
10
hack/testdata/pod-apply.yaml
vendored
Normal file
10
hack/testdata/pod-apply.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: test-pod
|
||||
labels:
|
||||
name: test-pod-applied
|
||||
spec:
|
||||
containers:
|
||||
- name: kubernetes-pause
|
||||
image: kubernetes/pause
|
10
hack/testdata/pod.yaml
vendored
Normal file
10
hack/testdata/pod.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: test-pod
|
||||
labels:
|
||||
name: test-pod-label
|
||||
spec:
|
||||
containers:
|
||||
- name: kubernetes-pause
|
||||
image: kubernetes/pause
|
Reference in New Issue
Block a user