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

Commita6cc046

Browse files
authored
Add custom CA config to on-prem install (#665)
* Add custom CA config to on-prem installAdded custom CA config to on-premises install page* Update codefresh-on-prem.md
1 parent5c05237 commita6cc046

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

‎_data/nav.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
url:"/behind-the-firewall"
495495
-title:Runner
496496
url:"/codefresh-runner"
497-
-title:On-Premises
497+
-title:On-Premises installation & configuration
498498
url:"/codefresh-on-prem"
499499
-title:On-Premises upgrade
500500
url:"/codefresh-on-prem-upgrade"

‎_docs/installation/codefresh-on-prem.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,39 @@ cfapi:
723723

724724
For detailed information, see the [Securing your webhooks](https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks) and [Webhooks](https://docs.github.com/en/github-ae@latest/rest/webhooks).
725725

726+
### Configure custom Root CA for volumes and containers
727+
Reference the K8s secret containing the root CA in `config.yaml`.
728+
Define the volume or volumes with the K8s secret objects, and then the volume mounts for the container.
729+
730+
731+
>Requires on-premises version 1.4.6 or higher.
732+
733+
**Before you begin**
734+
Make you have a K8s secret containing the CA
735+
736+
**How to**
737+
738+
1. Add the following to the `global` section:
739+
740+
```yaml
741+
global:
742+
env:
743+
NODE_EXTRA_CA_CERTS: /etc/ssl/custom/ca.crt
744+
745+
volumes:
746+
custom-ca:
747+
enabled: true
748+
type: secret
749+
existingName: my-custom-ca-cert #replace with the name of K8s secret object with the CA cert
750+
optional: true
751+
752+
container:
753+
volumeMounts:
754+
custom-ca:
755+
path:
756+
- mountPath: /etc/ssl/custom/ca.crt
757+
subPath: ca.crt
758+
```
726759

727760
## Using existing external services for data storage/messaging
728761

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp