You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vendor/replicated-sdk-customizing.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,13 +116,15 @@ replicated:
116
116
117
117
## Custom Certificate Authority
118
118
119
-
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.
119
+
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 or a Secret prior to installation and providing appropriate values during installation.
120
120
121
-
To store the CA in a ConfigMap:
121
+
### Using a ConfigMap
122
122
123
-
1. Create a ConfigMap with the name of `private-ca` and the CA as the data value:
123
+
To use a CA stored in a ConfigMap:
124
+
125
+
1. Create a ConfigMap and the CA as the data value. Note that name of the ConfigMap and data key can be anything.
1. Add the name of the config map to the values file:
128
130
```yaml
@@ -134,6 +136,22 @@ To store the CA in a ConfigMap:
134
136
If the `--private-ca-configmap` flag is used with the [kots install](/enterprise/installing-existing-cluster-automation) command, this value will be populated in the Replicated SDK automatically.
135
137
:::
136
138
139
+
### Using a Secret
140
+
141
+
To use a CA stored in a Secret:
142
+
143
+
1. Create a Secret and the CA as a data value. Note that the name of the Secret and the key can be anything.
1. Add the name of the secret and the key to the values file:
148
+
```yaml
149
+
replicated:
150
+
privateCASecret:
151
+
name: private-ca
152
+
key: ca.crt
153
+
```
154
+
137
155
## Add Tolerations
138
156
139
157
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/).
0 commit comments