Skip to content

Add azure blob storage#65

Merged
l00ptr merged 10 commits intomainfrom
feature/add-azure-blob-storage
Feb 19, 2026
Merged

Add azure blob storage#65
l00ptr merged 10 commits intomainfrom
feature/add-azure-blob-storage

Conversation

@l00ptr
Copy link
Copy Markdown
Collaborator

@l00ptr l00ptr commented Feb 3, 2026

No description provided.

@l00ptr l00ptr marked this pull request as draft February 3, 2026 14:08
@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch 2 times, most recently from 2686323 to 19d3449 Compare February 3, 2026 15:11
@l00ptr
Copy link
Copy Markdown
Collaborator Author

l00ptr commented Feb 3, 2026

@pchovelon & @OrioQuezac could you review this one even if it's still a draft ? I would like some feedback before adding the doc and a few more tests. I think it could be great to test it for real.

@l00ptr l00ptr mentioned this pull request Feb 5, 2026
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml Outdated
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml
@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch from 0373789 to 5325ffd Compare February 6, 2026 10:35
@l00ptr
Copy link
Copy Markdown
Collaborator Author

l00ptr commented Feb 12, 2026

related to #61

@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch 2 times, most recently from 5715ce7 to 4b0991b Compare February 17, 2026 14:29
This is a first step to handle more backend storage and their secret
names/logic.
When converting slices of structs to environment variables, fields with
the same nestedTag now share the same counter. This ensures that
numbering continues between different slices instead of restating the
counter. This will make possible to handle different slices for
different type of repository (e.g. one slice for s3 repo and another one
for Azure).

E.g. with 2 different slice, we will have

PGBACKREST_REPO1_S3...
PGBACKREST_REPO2_S3...
PGBACKREST_REPO3_AZURE...
@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch from 4b0991b to 33cbb6a Compare February 17, 2026 15:28
@l00ptr l00ptr requested a review from pchovelon February 17, 2026 15:29
@l00ptr l00ptr marked this pull request as ready for review February 17, 2026 15:34
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml
Comment thread docs/docs/repositories.md
Comment thread docs/docs/repositories.md Outdated
@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch from 33cbb6a to 0d799c2 Compare February 19, 2026 07:33
@l00ptr l00ptr requested a review from pchovelon February 19, 2026 07:38
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml Outdated
Comment thread config/crd/bases/pgbackrest.dalibo.com_stanzas.yaml Outdated
Comment thread test/e2e/e2e_test.go
t.Fatal("pod not ready")
}

b := takeBackup(ctx, t, k8sClient, NS, clusterName, "azure-backup-01", p)
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.

We may remove `takeBackup() of this test and create a new test name CreateAndRestoreFromAzure() or something like this.
This new test will test the entire "lifecycle" Create -> Backup -> Delete -> Restore.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I won't do that until we have reduced the duration of the test.

Copy link
Copy Markdown
Collaborator Author

@l00ptr l00ptr Feb 19, 2026

Choose a reason for hiding this comment

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

btw, i think we can refactor and share some code between the TestCreateAndRestoreInstance for S3 and Azure tests. It should be done after improving the tests duration and probably before integrating another backend storage.

@l00ptr l00ptr force-pushed the feature/add-azure-blob-storage branch from fa24c07 to e0effd8 Compare February 19, 2026 10:07
@l00ptr l00ptr merged commit 9cc6f23 into main Feb 19, 2026
4 checks passed
@l00ptr l00ptr deleted the feature/add-azure-blob-storage branch April 24, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants