Connect Enterprise ChaosHub via Proxy
Connect Enterprise ChaosHub in an air-gapped setup via proxy for SMP environments
This topic describes the method to connect Enterprise ChaosHub (https://github.com/) in an air-gapped setup via proxy
If you don't have access to GitHub, you will not be able to deploy Harness SMP in an air-gapped cluster completely. As a consequence, the Enterprise ChaosHub will be in a DISCONNECTED state.
To address this,
Use a proxy that can access GitHub;
Provide the configuration under chaos manager deployment;
Use this setup in the
override.yamlfile of the Helm chart before deployment.
An example of changes to the override.yaml file:
chaos-manager:
config:
HTTP_PROXY:
HTTPS_PROXY:
NO_PROXY:
GIT_SSL_NO_VERIFY:where:
HTTP_PROXYis set only if you are trying to connect to an SCM server deployed over HTTP (optional for Enterprise ChaosHub).HTTPS_PROXYis set only if you are trying to connect to an SCM server deployed over HTTPS or GitHub (required for Enterprise ChaosHub).
The above environment variables are set without providing any credentials. An example of a proxy without credentials:
NO_PROXYis set with the cluster IP of the cluster where you deploy the chaos infrastructure. This allows requests to be directed to the Kube API server directly instead of going through a proxy. In addition, the proxy may not be able to connect to the Kube API server if it is deployed outside the cluster.GIT_SSL_NO_PROXYis set when you are using self-signed certificates to skip SSL certificate validation.
Last updated
Was this helpful?