You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/administration/behind-the-firewall.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,10 +128,14 @@ Once you trigger the pipeline, the Codefresh builder will communicate with your
128
128
129
129
####Adding triggers from private GIT repositories
130
130
131
+
131
132
In the previous section we have seen how a pipeline can checkout code from the internal git repository. We also need to setup a trigger
132
133
so that every time a commit happens (or any other supported event), the Codefresh pipeline will be triggered automatically.
133
134
134
-
This is a two-step process:
135
+
If you have installed the[optional app-proxy]({{site.baseurl}}/docs/administration/codefresh-runner/#optional-installation-of-the-app-proxy), adding a trigger can be done exactly like the SAAS version of Codefresh, using only the Codefresh UI.
136
+
137
+
If you haven't installed the app-proxy, then adding a Git trigger is a two-step process:
138
+
135
139
1. First we setup a webhook endpoint in Codefresh.
136
140
1. Then we create the webhook call in the side of the the GIT provider.
Copy file name to clipboardExpand all lines: _docs/administration/codefresh-runner.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,6 +262,53 @@ codefresh runner upgrade
262
262
263
263
and follow the wizard prompts.
264
264
265
+
##Optional installation of the App Proxy
266
+
267
+
The App Proxy is an optional component of the runner that once installed:
268
+
269
+
* Enables you to automatically create webhooks for Git in the Codefresh UI (same as the SAAS experience)
270
+
* Sends commit status information back to your Git provider (same as the SAAS experience)
271
+
* Makes all Git Operations in the GUI work exactly like the SAAS installation of Codefresh
272
+
273
+
The requirements for the App proxy is a Kubernetes cluster that:
274
+
275
+
1. has already the Codefresh runner installed
276
+
1. has an active[ingress controller](https://kubernetes.io/docs/concepts/services-networking/ingress/)
277
+
1. Allows incoming connections from the VPC/VPN where users are browsing the Codefresh UI. The ingress connection must have a hostname assigned for this route
278
+
279
+
>Currently the App-proxy works only for Github and Github enterprise. We are soon adding support for other Git providers such as GitLab and Bitbucket.
alt="How App Proxy and the Codefresh runner work together"
290
+
caption="How App Proxy and the Codefresh runner work together"
291
+
max-width="80%"
292
+
%}
293
+
294
+
Basically when a Git GET operation takes place, the Codefresh UI will ask the app-proxy (if it is present) and it will route the request to the backing Git provider. The confidential Git information never leaves the firewall premises and the connection between the browser and the ingress is SSL/HTTPS. This means that the app-proxy does not compromise security in any way.
295
+
296
+
To install the app-proxy on a Kubernetes cluster that already has a Codefresh runner use the following command:
If you have multiple ingress controllers in the Kubernetes cluster you can use the`app-proxy-ingress-class` parameter to define which ingress will be used. For additional security you can also define a whitelist for IPs/ranges that are allowed to use the ingress (to further limit the web browsers that can access the Ingress). Check the documentation of your ingress controller for the exact details.
310
+
311
+
265
312
##Manual installation of Runner components
266
313
267
314
If you don't want to use the wizard, you can also install the components of the runner yourself.
Copy file name to clipboardExpand all lines: _docs/whats-new/whats-new.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Recent Codefresh updates:
11
11
###October 2020
12
12
13
13
- Using the GitHub Container registry as Docker registry -[documentation]({{site.baseurl}}/docs/integrations/docker-registries/github-container-registry/)
14
+
- Simplified Git operations with the App Proxy for the Codefresh runner -[documentation]({{site.baseurl}}/docs/administration/codefresh-runner/#optional-installation-of-the-app-proxy)