Skip to content

Commit 3b9ca5b

Browse files
authored
Merge pull request #43946 from rolfedh/BZ#2058433-bis
BZ#2058433: ADDITIONAL Fix webhook build API endpoint
2 parents 6ff1bc2 + d020454 commit 3b9ca5b

5 files changed

+2
-99
lines changed

modules/images-imagestream-configure.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@ kind: ImageStream
1616
metadata:
1717
annotations:
1818
openshift.io/generated-by: OpenShiftNewApp
19-
creationTimestamp: 2017-09-01T13:40:00Z
20-
generation: 1
2119
labels:
2220
app: ruby-sample-build
2321
template: application-template-stibuild
2422
name: origin-ruby-sample <1>
2523
namespace: test
26-
resourceVersion: "633"
27-
selflink: /oapi/v1/namespaces/test/imagestreams/origin-ruby-sample
28-
uid: ee2b9405-c68c-11e5-8a99-525400f25e34
2924
spec: {}
3025
status:
3126
dockerImageRepository: 172.30.56.218:5000/test/origin-ruby-sample <2>

modules/security-container-content-external-scanning.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ annotation. Be sure to replace the values for `<token>`, `<openshift_server>`,
236236
$ curl -X PATCH \
237237
-H "Authorization: Bearer <token>" \
238238
-H "Content-Type: application/merge-patch+json" \
239-
https://<openshift_server>:8443/oapi/v1/images/<image_id> \
239+
https://<openshift_server>:6443/apis/image.openshift.io/v1/images/<image_id> \
240240
--data '{ <image_annotation> }'
241241
----
242242

modules/service-accounts-using-credentials-inside-a-container.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ by the token:
2626
+
2727
----
2828
$ curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt \
29-
"https://openshift.default.svc.cluster.local/oapi/v1/users/~" \
29+
"https://openshift.default.svc.cluster.local/apis/user.openshift.io/v1/users/~" \
3030
-H "Authorization: Bearer $TOKEN"
3131
3232
kind: "User"
3333
apiVersion: "user.openshift.io/v1"
3434
metadata:
3535
name: "system:serviceaccount:top-secret:robot"
36-
selflink: "/oapi/v1/users/system:serviceaccount:top-secret:robot"
37-
creationTimestamp: null
3836
identities: null
3937
groups:
4038
- "system:serviceaccounts"

modules/user-agent-configuring.adoc

Lines changed: 0 additions & 52 deletions
This file was deleted.

modules/user-agent-overview.adoc

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)