Skip to content
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

Document custom CA use with replicated SDK #2667

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
16 changes: 16 additions & 0 deletions docs/vendor/replicated-sdk-customizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,22 @@ replicated:
value: my-value-2
```

## Custom Certificate Authority

When installing the Replicated SDK behind a proxy server that terminates TLS and injects a custom certificate, you must provide the CA to the SDK. This can be done by storing the CA in a ConfigMap prior to installation and setting `privateCAConfigmap` key to the name of the ConfigMap.

To store the CA in a ConfigMap:

1. Create a ConfigMap with the name of `private-ca` and the CA as the data value:
```bash
kubectl create configmap -n <NAMESPACE> private-ca --from-file=ca.crt=./ca.crt
```
1. Add the name of the config map to the values file:
```yaml
replicated:
privateCAConfigmap: private-ca
```

## Add Tolerations

The Replicated SDK provides a `replicated.tolerations` value that allows users to add custom tolerations to the deployment. For more information about tolerations, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/).
Expand Down