Hi Craig, glad that post is getting mileage!

So in kubernetes, I guess that would be adding to the pod that is running
your Jenkins container: there would be a pod definition (not sure if you
wrote it) somewhere, and you could cook up an image with smee running and
have it as a "sidecar" next to the Jenkins container, as pods share a
network and anything running in the pod could access the /github-webhook/
endpoint

https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/ (look for
sidecar)

So then it depends how you deployed that image into a pod (but to start
with would need to cook up an image with smee in it ready to go - I am not
sure if one exists yet).



On Thu, Oct 24, 2019 at 5:39 PM Craig Rodrigues <rodr...@crodrigues.org>
wrote:

> Michael,
>
> In your blog post:
>
> "Triggering builds with webhooks behind a secure firewall"
> https://jenkins.io/blog/2019/01/07/webhook-firewalls/
>
> You gave a good overview of how someone can use webhooks
> invoked from GitHub in the cloud, to a Jenkins server which exists behind
> a firewall, using https://smee.io .
>
> In your post, you mention:
>
> *"you should install the smee client next to where you have the Jenkins
> server running:*"
>
> In my case, I am running the jenkins/jenkins:lts docker image
> ( https://hub.docker.com/r/jenkins/jenkins/ ), which is deployed by
> Kubernetes 1.14.
> My Jenkins setup is behind a firewall.
> However, my source code exists on GitHub which exists in the public cloud.
>
> Since I do not want to modify the jenkins/jenkins:lts docker image,
> where can I run the smee client, so that I can still use it
> with my setup?
>
> I'd like to get webhooks from the public GitHub triggering builds on
> my Jenkins server running behind a firewall.
>
> Thanks.
>
> --
> Craig
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAEuC6Lj49iophCDoF%3DzsfMJu%3DrghQfjBTSdqXrHxksE6aEj0Vw%40mail.gmail.com.

Reply via email to