-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to disable oci client init on startup (#243)
* Add option to disable OCI client init on startup
- Loading branch information
1 parent
db4d5fc
commit 535d6ef
Showing
5 changed files
with
67 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Advanced Options | ||
|
||
## Disable OCI Client initialization on startup | ||
|
||
CAPOCI supports setting OCI principals at [cluster level][cluster-identity], hence CAPOCI can be | ||
installed without providing OCI user credentials. The following environment variable need to be exported | ||
to install CAPOCI without providing any OCI credentials. | ||
|
||
```shell | ||
export INIT_OCI_CLIENTS_ON_STARTUP=false | ||
``` | ||
|
||
If the above setting is used, and [Cluster Identity][cluster-identity] is not used, the OCICluster will | ||
go into error state, and the following error will show up in the CAPOCI pod logs. | ||
|
||
`OCI authentication credentials could not be retrieved from pod or cluster level,please install Cluster API Provider for OCI with OCI authentication credentials or set Cluster Identity in the OCICluster` | ||
|
||
[cluster-identity]: ./multi-tenancy.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters