add advanced use cases for hostAPI

This commit is contained in:
Maidul Islam
2023-04-27 11:14:47 -04:00
parent c3a47597b6
commit 04a9604ba9

View File

@@ -71,11 +71,18 @@ spec:
If you are fetching secrets from a self hosted instance of Infisical set the value of `hostAPI` to
` https://your-self-hosted-instace.com/api`
If you are self-hosting and want to access Infisical backend's service directly you can use a hostAPI configuration as below.
``` bash
http://<backend-svc-name>.<namespace>.svc.cluster.local:4000/api
```
When `hostAPI` is not defined the operator fetches secrets from Infisical Cloud.
<Accordion title="Advanced use case">
If you have installed your Infisical instance within the same cluster as the Infisical operator, you can optionally access the Infisical backend's service directly without having to route through the public internet.
To achieve this, use the following address for the hostAPI field:
``` bash
http://<backend-svc-name>.<namespace>.svc.cluster.local:4000/api
```
Make sure to replace `<backend-svc-name>` and `<namespace>` with the appropriate values for your backend service and namespace.
</Accordion>
</Accordion>
<Accordion title="authentication">