Configuring your cluster for impersonation
Let's deploy an impersonating proxy for our cluster. Assuming you're reusing your existing cluster, we'll upgrade our existing orchestra Helm deployment with an updated openunison-values.yaml
file:
- First, delete the current TLS secret for OpenUnison since it doesn't have the right configuration for Impersonation. When we update the orchestra Helm chart, the operator will generate a new certificate for us.
kubectl delete secret ou-tls-certificate -n openunison
- Next, update our Helm chart to use impersonation. Edit the
openunison-values.yaml
file, updatenetwork.api_server_host
as shown in the following snippet, and setenable_impersonation
totrue
:network: openunison_host: "k8sou.apps.192-168-2-131.nip.io" dashboard_host: "k8sdb.apps.192-168-2-131.nip.io" api_server_host: "k8sapi.apps.192-168-2-131.nip.io" session_inactivity_timeout_seconds...