Skip to content

Do Create Tenant Api Atomic #202

@cesnietor

Description

@cesnietor

If it fails while creating a tenant some kubernetes objects will be created and the next time the same request is made it can come up with:

{
    "code": 500,
    "message": "secrets \"minio-tenant-1-secret\" already exists"
}

We should delete any k8s resources that were created if it failed or create only if passing all validations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions