https://www.redhat.com/en/interactive-labs/get-started-red-hat-openshift-developers
Php Code for S2I With webhook
Creating Php web image by S2I
Listing the Webhook Generic URL Links Select the second Webhook URL
Exposing SVC to Route access on the web-console using route link getting build config secret , select the second secret
Php-web page
[root@crc-lgph7-master-0 /]# hostname crc-lgph7-master-0 [root@crc-lgph7-master-0 /]#
6N40OjlSLKE5wL6ck_0x
6N40OjlSLKE5wL6ck_0x ==> secret second
http://dep1-default.crc-lgph7-master-0.crc.pp0sz7c97qwk.instruqt.io/ ===> route link crc-lgph7-master-0
#oc get bc dep1 -o yaml | grep secret
ykcMkGI8ibyoRqWoW4dR ==> second secret
webhook generic URL : https://api.crc.testing:6443/apis/build.openshift.io/v1/namespaces/default/buildconfigs/dep1/webhooks//generic
https://crc-lgph7-master-0.crc.pp0sz7c97qwk.instruqt.io:6443
secret : 6N40OjlSLKE5wL6ck_0x
Webhook Deliveries.
Updated Image