Skip to content

Commit f7c9f59

Browse files
committed
Update output
1 parent 0c27c07 commit f7c9f59

File tree

2 files changed

+13
-59
lines changed

2 files changed

+13
-59
lines changed

pkg/test/testreconciler/simpletest/testdata/reconcile/direct/create/expected-http.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ X-Content-Type-Options: nosniff
6161
Not Found
6262

6363

64+
---
65+
66+
GET http://kube-apiserver/api/v1/configmaps?allowWatchBookmarks=true&labelSelector=addons.example.org%2Fsimpletest%3Dsimple1&watch=true
67+
Accept: application/json
68+
69+
200 OK
70+
Cache-Control: no-cache, private
71+
Content-Type: application/json
72+
Date: (removed)
73+
74+
<streaming response not included>
75+
6476
---
6577

6678
GET http://kube-apiserver/api/v1/namespaces/ns1/configmaps/foo
@@ -107,18 +119,6 @@ Date: (removed)
107119

108120
---
109121

110-
GET http://kube-apiserver/api/v1/configmaps?allowWatchBookmarks=true&labelSelector=addons.example.org%2Fsimpletest%3Dsimple1&watch=true
111-
Accept: application/json
112-
113-
200 OK
114-
Cache-Control: no-cache, private
115-
Content-Type: application/json
116-
Date: (removed)
117-
118-
<streaming response not included>
119-
120-
---
121-
122122
PUT http://kube-apiserver/apis/addons.example.org/v1alpha1/namespaces/ns1/simpletests/simple1/status
123123
Accept: application/json, */*
124124
Content-Type: application/json

pkg/test/testreconciler/simpletest/testdata/reconcile/ssa/create/expected-http.yaml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,6 @@ X-Content-Type-Options: nosniff
6161
Not Found
6262

6363

64-
---
65-
66-
PATCH http://kube-apiserver/api/v1/namespaces/ns1/configmaps/foo?fieldManager=kdp-test&force=true
67-
Accept: application/json
68-
Content-Type: application/apply-patch+yaml
69-
70-
{"apiVersion":"v1","data":{"k1":"v1"},"kind":"ConfigMap","metadata":{"labels":{"addons.example.org/simpletest":"simple1","example-app":"simpletest","l1":"v1"},"name":"foo","namespace":"ns1","ownerReferences":[{"apiVersion":"addons.example.org/v1alpha1","blockOwnerDeletion":true,"controller":true,"kind":"SimpleTest","name":"simple1","uid":"00000000-0000-0000-0000-000000000002"}]}}
71-
72-
200 OK
73-
Cache-Control: no-cache, private
74-
Content-Length: 492
75-
Content-Type: application/json
76-
Date: (removed)
77-
78-
{"apiVersion":"v1","data":{"k1":"v1"},"kind":"ConfigMap","metadata":{"creationTimestamp":"2022-01-01T00:00:02Z","labels":{"addons.example.org/simpletest":"simple1","example-app":"simpletest","l1":"v1"},"name":"foo","namespace":"ns1","ownerReferences":[{"apiVersion":"addons.example.org/v1alpha1","blockOwnerDeletion":true,"controller":true,"kind":"SimpleTest","name":"simple1","uid":"00000000-0000-0000-0000-000000000002"}],"resourceVersion":"3","uid":"00000000-0000-0000-0000-000000000003"}}
79-
80-
---
81-
82-
PUT http://kube-apiserver/apis/addons.example.org/v1alpha1/namespaces/ns1/simpletests/simple1/status
83-
Accept: application/json, */*
84-
Content-Type: application/json
85-
86-
{"kind":"SimpleTest","apiVersion":"addons.example.org/v1alpha1","metadata":{"name":"simple1","namespace":"ns1","uid":"00000000-0000-0000-0000-000000000002","resourceVersion":"2","creationTimestamp":"2022-01-01T00:00:01Z"},"spec":{"channel":"stable"},"status":{"healthy":true}}
87-
88-
89-
200 OK
90-
Cache-Control: no-cache, private
91-
Content-Length: 276
92-
Content-Type: application/json
93-
Date: (removed)
94-
95-
{"apiVersion":"addons.example.org/v1alpha1","kind":"SimpleTest","metadata":{"creationTimestamp":"2022-01-01T00:00:01Z","name":"simple1","namespace":"ns1","resourceVersion":"4","uid":"00000000-0000-0000-0000-000000000002"},"spec":{"channel":"stable"},"status":{"healthy":true}}
96-
9764
---
9865

9966
GET http://kube-apiserver/api/v1/configmaps?allowWatchBookmarks=true&labelSelector=addons.example.org%2Fsimpletest%3Dsimple1&watch=true
@@ -108,19 +75,6 @@ Date: (removed)
10875

10976
---
11077

111-
GET http://kube-apiserver/api/v1/namespaces/ns1/configmaps/foo
112-
Accept: application/json
113-
114-
200 OK
115-
Cache-Control: no-cache, private
116-
Content-Length: 492
117-
Content-Type: application/json
118-
Date: (removed)
119-
120-
{"apiVersion":"v1","data":{"k1":"v1"},"kind":"ConfigMap","metadata":{"creationTimestamp":"2022-01-01T00:00:02Z","labels":{"addons.example.org/simpletest":"simple1","example-app":"simpletest","l1":"v1"},"name":"foo","namespace":"ns1","ownerReferences":[{"apiVersion":"addons.example.org/v1alpha1","blockOwnerDeletion":true,"controller":true,"kind":"SimpleTest","name":"simple1","uid":"00000000-0000-0000-0000-000000000002"}],"resourceVersion":"3","uid":"00000000-0000-0000-0000-000000000003"}}
121-
122-
---
123-
12478
PATCH http://kube-apiserver/api/v1/namespaces/ns1/configmaps/foo?fieldManager=kdp-test&force=true
12579
Accept: application/json
12680
Content-Type: application/apply-patch+yaml
@@ -141,7 +95,7 @@ PUT http://kube-apiserver/apis/addons.example.org/v1alpha1/namespaces/ns1/simple
14195
Accept: application/json, */*
14296
Content-Type: application/json
14397

144-
{"kind":"SimpleTest","apiVersion":"addons.example.org/v1alpha1","metadata":{"name":"simple1","namespace":"ns1","uid":"00000000-0000-0000-0000-000000000002","resourceVersion":"4","creationTimestamp":"2022-01-01T00:00:01Z"},"spec":{"channel":"stable"},"status":{"healthy":true}}
98+
{"kind":"SimpleTest","apiVersion":"addons.example.org/v1alpha1","metadata":{"name":"simple1","namespace":"ns1","uid":"00000000-0000-0000-0000-000000000002","resourceVersion":"2","creationTimestamp":"2022-01-01T00:00:01Z"},"spec":{"channel":"stable"},"status":{"healthy":true}}
14599

146100

147101
200 OK

0 commit comments

Comments
 (0)