Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97cdab5

Browse files
App proxy installation (#202)
* General architecture of app-proxy* Optional app-proxy installation for easier Git operations* Minor fixes
1 parentcdc2078 commit97cdab5

File tree

4 files changed

+53
-1
lines changed

4 files changed

+53
-1
lines changed

‎_docs/administration/behind-the-firewall.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,14 @@ Once you trigger the pipeline, the Codefresh builder will communicate with your
128128
129129
####Adding triggers from private GIT repositories
130130

131+
131132
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
132133
so that every time a commit happens (or any other supported event), the Codefresh pipeline will be triggered automatically.
133134

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+
135139
1. First we setup a webhook endpoint in Codefresh.
136140
1. Then we create the webhook call in the side of the the GIT provider.
137141

‎_docs/administration/codefresh-runner.md‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,53 @@ codefresh runner upgrade
262262

263263
and follow the wizard prompts.
264264

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.
280+
281+
Here is the architecture of the app-proxy:
282+
283+
284+
285+
{% include image.html
286+
lightbox="true"
287+
file="/images/administration/runner/app-proxy-architecture.png"
288+
url="/images/administration/runner/app-proxy-architecture.png"
289+
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:
297+
298+
```
299+
codefresh install app-proxy --host=<hostname-of-ingress>
300+
```
301+
302+
If you want to install the Codefresh runner and app-proxy in a single command use the following:
303+
304+
```
305+
codefresh runner init --app-proxy --app-proxy-host=<hostname-of-ingress>
306+
307+
```
308+
309+
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+
265312
##Manual installation of Runner components
266313

267314
If you don't want to use the wizard, you can also install the components of the runner yourself.

‎_docs/whats-new/whats-new.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Recent Codefresh updates:
1111
###October 2020
1212

1313
- 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)
1415

1516
###September 2020
1617

62.3 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp