Skip to content

Commit d4bf347

Browse files
vitalii-codefreshandrii-codefreshmasontikhonov
authored
fix: onprem 2.11.26 update engine with fixed dependency 'kube-integration' (#405)
* Update `ENGINE_IMAGE` to version 3.2.26 and revise security annotation * Document `WEBHOOK_BASE_URL` usage and update `TEMPLATE_ENGINE` image to version 0.15.7 * Update security annotation and bump `engine` to 3.2.26, `pikolo` to 0.15.7 * Fix broken dependency in `kube-integration` and update `engine` to version 3.2.26 * Fix broken dependency in `kube-integration` and update `engine` to version 3.2.26 * Fix broken dependency in `kube-integration` and update `engine` to version 3.2.26 * Revise bug fix annotation for "pipeline runtime" in Helm chart metadata * Update engine to 3.3.0. ECR integration with Service Account uses the region of integration * helm-docs * Document `WEBHOOK_BASE_URL` configuration for externally-reachable Git providers * Refine `WEBHOOK_BASE_URL` documentation and update chart metadata with engine version 3.3.0 changes * Update README: improve webhook configuration note formatting * Add "Configure platform URL for Git webhooks" section to README --------- Co-authored-by: andrii-codefresh <andrii@codefresh.io> Co-authored-by: Zhenya Tikhonov <zhenya.tikhonov@octopus.com>
1 parent c56d1eb commit d4bf347

5 files changed

Lines changed: 376 additions & 8 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/
3737
- [Projects pipelines limit](#projects-pipelines-limit)
3838
- [Enable session cookie](#enable-session-cookie)
3939
- [X-Frame-Options response header](#x-frame-options-response-header)
40+
- [Configure platform URL for Git webhooks](#configure-platform-url-for-git-webhooks)
4041
- [Image digests in containers](#image-digests-in-containers)
4142
- [Hermes configuration](#hermes-configuration)
4243
- [Configuring OIDC Provider](#configuring-oidc-provider)
@@ -1448,6 +1449,20 @@ cfapi:
14481449
USE_SHA256_GITHUB_SIGNATURE: "true"
14491450
```
14501451
1452+
### Configure platform URL for Git webhooks
1453+
1454+
By default Codefresh registers webhooks using CF_HOST_NAME/EXTERNAL_URL (the same hostname used for the UI/API).
1455+
If that hostname is internal-only and unreachable by the Git provider, set WEBHOOK_BASE_URL
1456+
to an externally-reachable hostname; it is used only for webhook registration, everything else keeps using CF_HOST_NAME/EXTERNAL_URL.
1457+
> [!IMPORTANT]
1458+
> This only affects webhooks registered after the change - existing triggers must be deleted and recreated.
1459+
1460+
```yaml
1461+
cfapi:
1462+
env:
1463+
WEBHOOK_BASE_URL: "https://external.mydomain.com"
1464+
```
1465+
14511466
### Image digests in containers
14521467

14531468
In Codefresh On-Prem 2.6.x all Codefresh owner microservices include image digests in the default subchart values.

README.md.gotmpl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/
3737
- [Projects pipelines limit](#projects-pipelines-limit)
3838
- [Enable session cookie](#enable-session-cookie)
3939
- [X-Frame-Options response header](#x-frame-options-response-header)
40+
- [Configure platform URL for Git webhooks](#configure-platform-url-for-git-webhooks)
4041
- [Image digests in containers](#image-digests-in-containers)
4142
- [Hermes configuration](#hermes-configuration)
4243
- [Configuring OIDC Provider](#configuring-oidc-provider)
@@ -1457,6 +1458,20 @@ cfapi:
14571458
USE_SHA256_GITHUB_SIGNATURE: "true"
14581459
```
14591460

1461+
### Configure platform URL for Git webhooks
1462+
1463+
By default Codefresh registers webhooks using CF_HOST_NAME/EXTERNAL_URL (the same hostname used for the UI/API).
1464+
If that hostname is internal-only and unreachable by the Git provider, set WEBHOOK_BASE_URL
1465+
to an externally-reachable hostname; it is used only for webhook registration, everything else keeps using CF_HOST_NAME/EXTERNAL_URL.
1466+
> [!IMPORTANT]
1467+
> This only affects webhooks registered after the change - existing triggers must be deleted and recreated.
1468+
1469+
```yaml
1470+
cfapi:
1471+
env:
1472+
WEBHOOK_BASE_URL: "https://external.mydomain.com"
1473+
```
1474+
14601475
### Image digests in containers
14611476

14621477
In Codefresh On-Prem 2.6.x all Codefresh owner microservices include image digests in the default subchart values.

charts/codefresh/Chart.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ annotations:
2121
# - kind:
2222
# description: ""
2323
artifacthub.io/changes: |-
24-
- kind: changed
25-
description: update cf-ui to 14.100.14
2624
- kind: fixed
27-
description: added "nodes" section to accounts admin panel
25+
description: 'Fixes the bug in the default Classic Runtime that was causing steps of type "deploy" to fail while pulling secrets.'
26+
- kind: fixed
27+
description: 'ECR integration with Service Account uses the region of integration.'
28+
- kind: changed
29+
description: 'Update "engine" to "3.3.0"'
30+
- kind: security
31+
description: 'Update "pikolo" to "0.15.7" tag. Security fixes.'
2832
dependencies:
2933
- name: cf-common
3034
repository: oci://quay.io/codefresh/charts

0 commit comments

Comments
 (0)