-
I have deployed the webhook and the operator is working without throwing any errors, but the webhook by itself doesn't appear inside the repository, now I am struggling if it should be and what it should look like? :) Would be great to have a bit more documentation around this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Loosely related, but I am curious as to why the HRA webhook is in controllers and not the api. Ultimately I am in the process of updating the source code on my local to use kubebuilder v3 and while finishing up the webhook scaffolding, I have noticed that kubebuilder doesn't appear to be used to create the HRA kind in the actions group, or to create the HRA webhook. It's interesting since they appear to have some of the scaffolding in place, but there is no record of them in the PROJECT file. I have no intention of hijacking the discussion, but I am curious about the design decisions and implementation. I can create a new discussion if OP would prefer |
Beta Was this translation helpful? Give feedback.
-
@XBeg9 Hey! Are you saying actions-runner-controller should register a webhook endpoint for you? I think that's out of the scope of a project like this :) Anyway, you'd need to follow k8s's standard way to expose pods to the internet. You usually have to use NodePort service and a managed loadbalancer, or a k8s LoadBalancer service, or an ingress controller to expose the webhook-based autoscaler's webhook endpoint. The webhook endpoint URL depends the solution you use so actions-runner-controller can do nothing for that. Also beware to configure your firewall (for AWS that m right be a security groups ingress) appropriately. Once everything is configured, you can see if github is successfully sending webhook events by browsing the webhook configuration page on GitHub. |
Beta Was this translation helpful? Give feedback.
@XBeg9 Hey! Are you saying actions-runner-controller should register a webhook endpoint for you? I think that's out of the scope of a project like this :)
Anyway, you'd need to follow k8s's standard way to expose pods to the internet. You usually have to use NodePort service and a managed loadbalancer, or a k8s LoadBalancer service, or an ingress controller to expose the webhook-based autoscaler's webhook endpoint.
The webhook endpoint URL depends the solution you use so actions-runner-controller can do nothing for that.
Also beware to configure your firewall (for AWS that m right be a security groups ingress) appropriately. Once everything is…