Configure the IAM endpoint by using Helm
When you deploy or upgrade the Logging agent, you can configure the logs-values.yaml file to set env.iamEnvironment to control the IAM endpoint that is used by the agent to exchange the tokens.
The default value is Production.
Valid values are: Production, PrivateProduction and Custom.
Update the file named logs-values.yaml that you use to deploy or upgrade the agent with the following content:
-
Set
Productionto use theiam.cloud.ibm.comdefault endpointSample
logs-values.yamlfile looks as follows:env: iamEnvironment: "Production" -
Set
PrivateProductionto use theprivate.iam.cloud.ibm.comendpointSample
logs-values.yamlfile looks as follows:env: iamEnvironment: "PrivateProduction" -
Set
Customto use a custom IAM endpoint (for exampleprivate.eu-de.iam.cloud.ibm.com). You must also setenv.iamHost.Sample
logs-values.yamlfile looks as follows:env: iamEnvironment: "Custom" iamHost: "private.eu-de.iam.cloud.ibm.com"
After you modify the logs-values.yaml, you can Upgrade the agent or continue modifying the file before applying all the changes.