Loop three types of files for each "multiple resources" test
This commit is contained in:
33
hack/testdata/multi-resource-yaml-modify.yaml
vendored
Normal file
33
hack/testdata/multi-resource-yaml-modify.yaml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mock
|
||||
labels:
|
||||
app: mock
|
||||
status: replaced
|
||||
spec:
|
||||
ports:
|
||||
- port: 99
|
||||
protocol: TCP
|
||||
targetPort: 9949
|
||||
selector:
|
||||
app: mock
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: mock
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mock
|
||||
status: replaced
|
||||
spec:
|
||||
containers:
|
||||
- name: mock-container
|
||||
image: kubernetes/pause
|
||||
ports:
|
||||
- containerPort: 9949
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user