7.3. Exposing the RHACS portal over HTTP for an existing deployment
You can enable the HTTP server on an existing Red Hat Advanced Cluster Security for Kubernetes deployment.
Procedure
Create a patch and define a
ROX_PLAINTEXT_ENDPOINTSenvironment variable:$ CENTRAL_PLAINTEXT_PATCH=' spec: template: spec: containers: - name: central env: - name: ROX_PLAINTEXT_ENDPOINTS value: <endpoints_spec> 'where:
- <endpoints_spec>
-
Specifies the endpoints in the form of
<type>@<addr>:<port>. See the Prerequisites section for details.
Add the
ROX_PLAINTEXT_ENDPOINTSenvironment variable to the Central deployment:$ oc -n stackrox patch deploy/central -p "$CENTRAL_PLAINTEXT_PATCH"