Customize DCE 5.0 Reverse Proxy Server Address¶
The specific setup steps are as follows:
-
Check if the global management Helm repository exists.
If the result is empty or shows the following error, proceed to the next step; otherwise, skip the next step.
```none
Error: no repositories to show
```
-
Add and update the global management Helm repository.
-
Set environment variables for easier use in the following steps.
# Your reverse proxy address, for example `export DCE_PROXY="https://demo-alpha.daocloud.io"` export DCE_PROXY="https://domain:port" # Helm --set parameter backup file export GHIPPO_VALUES_BAK="ghippo-values-bak.yaml" # Get the current version of ghippo export GHIPPO_HELM_VERSION=$(helm get notes ghippo -n ghippo-system | grep "Chart Version" | awk -F ': ' '{ print $2 }')
-
Backup the --set parameters.
-
Add your reverse proxy address.
!!! note
- If possible, you can use the __yq__ command:
```shell
yq -i ".apiserver.userIsolationMode = \"Folder\"" ${GHIPPO_VALUES_BAK}
```
- Or you can use the __vim__ command to edit and save:
```shell
vim ${GHIPPO_VALUES_BAK}
USER-SUPPLIED VALUES:
...
# Just add the following two lines
apiserver:
userIsolationMode: Folder
```
-
Run
helm upgrade
to apply the configuration. -
Use kubectl to restart the global management Pod to apply the configuration.