K8SPSMDB-1644: Document OCI storage#355
Open
egegunes wants to merge 3 commits into
Open
Conversation
egegunes
requested review from
eleo007,
gkech,
hors,
jvpasinatto,
mayankshah1607,
nastena1606,
nmarukovich,
pooknull and
valmiranogueira
as code owners
July 10, 2026 06:10
nastena1606
reviewed
Jul 10, 2026
| 3. Add an OCI policy that grants this Service Account access to Object Storage. Replace the namespace, Service Account, and cluster OCID with your own values: | ||
|
|
||
| ```text | ||
| Allow any-user to manage objects in tenancy where all {request.principal.type='workload', request.principal.namespace='psmdb-workload-identity', request.principal.service_account='backup-service-account', request.principal.cluster_id='<cluster-ocid>'} |
Collaborator
There was a problem hiding this comment.
I'm confused here. Is it a command? Since as a user I expect the command here
Contributor
Author
There was a problem hiding this comment.
no this is the policy statement. you can set this via cli but I used web UI to set this.
Collaborator
There was a problem hiding this comment.
I fixed the wording to make it clearer. Does it make sense for you?
nastena1606
reviewed
Jul 10, 2026
| The Operator also authenticates to the storage to validate a backup before starting a restore. Because it runs under its own Service Account (`percona-server-mongodb-operator`), add a policy for that Service Account as well. Replace the namespace and cluster OCID with your own values: | ||
|
|
||
| ```text | ||
| Allow any-user to manage objects in tenancy where all {request.principal.type='workload', request.principal.namespace='<operator-namespace>', request.principal.service_account='percona-server-mongodb-operator', request.principal.cluster_id='<cluster-ocid>'} |
Collaborator
There was a problem hiding this comment.
Also here, I would expect the command here. And maybe it makes sense to move this step before the CR configuration?
Reorded the steps to confogure IAM policu first
egegunes
commented
Jul 13, 2026
| ``` | ||
|
|
||
| 5. Configure the storage with the `okeWorkloadIdentity` credentials type in the `backup.storages` subsection: | ||
| 5. Add this statement to the an OCI policy for the `percona-server-mongodb-operator` Service Account Replace the namespace and cluster OCID with your own values: |
Contributor
Author
There was a problem hiding this comment.
this seems to be missing a period before Replace @nastena1606
eleo007
approved these changes
Jul 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.