Skip to content

Update org-cert.md #1457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 34 additions & 14 deletions docs/admin/config/org-cert.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,47 @@ You will need to have the public key of the local certificate authority.

* Create the `runai-backend` namespace if it does not exist.
* Add the public key to the `runai-backend` namespace:
```
kubectl -n runai-backend create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
```

=== "Kubernetes"

```
kubectl -n runai-backend create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
```

=== "OpenShift"

```
oc -n runai-backend create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
```

* As part of the installation instructions, you need to create a secret for [runai-backend-tls](../runai-setup/self-hosted/k8s/preparations.md#domain-certificate). Use the local certificate authority instead.
* Install the control plane, add the following flag to the helm command `--set global.customCA.enabled=true`

## Cluster Installation

* Create the `runai` namespace if it does not exist.
* Add the public key to the `runai` namespace:
```
kubectl -n runai create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
```
* In case you're using Openshift, add the public key to the `openshift-monitoring` namespace:
```
kubectl -n openshift-monitoring create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
```
* Add the public key to the `runai` namespace. In case you're using OpenShift, add the public key also to the `openshift-monitoring` namespace:


=== "Kubernetes"
```
kubectl -n runai create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
kubectl label secret runai-ca-cert -n runai run.ai/cluster-wide=true run.ai/name=runai-ca-cert --overwrite;
```

=== "OpenShift"

```
oc -n runai create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
oc -n openshift-monitoring create secret generic runai-ca-cert \
--from-file=runai-ca.pem=<ca_bundle_path>
oc label secret runai-ca-cert -n runai run.ai/cluster-wide=true run.ai/name=runai-ca-cert --overwrite
```

* Install the Run:ai operator, add the following flag to the helm command `--set global.customCA.enabled=true`


Expand Down