Skip to content

K8SPSMDB-1644: Document OCI storage#355

Open
egegunes wants to merge 3 commits into
mainfrom
K8SPSMDB-1644
Open

K8SPSMDB-1644: Document OCI storage#355
egegunes wants to merge 3 commits into
mainfrom
K8SPSMDB-1644

Conversation

@egegunes

Copy link
Copy Markdown
Contributor

No description provided.

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>'}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused here. Is it a command? Since as a user I expect the command here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this is the policy statement. you can set this via cli but I used web UI to set this.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed the wording to make it clearer. Does it make sense for you?

Comment thread docs/backups-storage-oci.md Outdated
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>'}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Comment thread docs/backups-storage-oci.md Outdated
```

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:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be missing a period before Replace @nastena1606

@nastena1606 nastena1606 added the pending release PR is ready to be included in the upcoming release label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending release PR is ready to be included in the upcoming release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants