Compare commits

...

6 Commits

Author SHA1 Message Date
Toomas Pelberg
bb7f27d64e
Merge c5dafb3dbf into a95197e648 2026-08-31 10:59:25 +08:00
dblugeon
a95197e648
docs(web): fix retention policy path in concepts documentation (#1059)
Corrected path for retention policy in documentation.

Closes #1061

Signed-off-by: dblugeon <dblugeon@users.noreply.github.com>
2026-08-28 12:29:47 +02:00
renovate[bot]
ad5311efa5
chore(deps): update golangci/golangci-lint docker tag to v2.13.2 (#1088)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-28 10:29:19 +02:00
Toomas Pelberg
c5dafb3dbf
Merge branch 'main' into correct-cluster-serviceaccount 2026-05-25 13:16:53 +03:00
Toomas Pelberg
50c55fd075
Merge branch 'main' into correct-cluster-serviceaccount 2026-05-13 10:06:30 +03:00
Toomas Pelberg
bdf568f48f
Use specified ServiceAccountName in RoleBinding
Signed-off-by: Toomas Pelberg <toomasp@gmx.net>
2026-04-22 15:35:43 +03:00
3 changed files with 7 additions and 3 deletions

View File

@ -23,7 +23,7 @@ tasks:
# renovate: datasource=git-refs depName=golangci-lint lookupName=https://github.com/sagikazarmark/daggerverse currentValue=main # renovate: datasource=git-refs depName=golangci-lint lookupName=https://github.com/sagikazarmark/daggerverse currentValue=main
DAGGER_GOLANGCI_LINT_SHA: ff27cd50f6b4eed2e3753c520632cd6099e1ce52 DAGGER_GOLANGCI_LINT_SHA: ff27cd50f6b4eed2e3753c520632cd6099e1ce52
# renovate: datasource=docker depName=golangci/golangci-lint versioning=semver # renovate: datasource=docker depName=golangci/golangci-lint versioning=semver
GOLANGCI_LINT_VERSION: v2.13.1 GOLANGCI_LINT_VERSION: v2.13.2
cmds: cmds:
- > - >
GITHUB_REF= dagger -sc "github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} GITHUB_REF= dagger -sc "github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA}

View File

@ -126,6 +126,10 @@ func ObjectStoreNamesFromRole(role *rbacv1.Role) []string {
func BuildRoleBinding( func BuildRoleBinding(
cluster *cnpgv1.Cluster, cluster *cnpgv1.Cluster,
) *rbacv1.RoleBinding { ) *rbacv1.RoleBinding {
clusterServiceAccountName := cluster.Name
if cluster.Spec.ServiceAccountName != "" {
clusterServiceAccountName = cluster.Spec.ServiceAccountName
}
return &rbacv1.RoleBinding{ return &rbacv1.RoleBinding{
ObjectMeta: metav1.ObjectMeta{ ObjectMeta: metav1.ObjectMeta{
Namespace: cluster.Namespace, Namespace: cluster.Namespace,
@ -136,7 +140,7 @@ func BuildRoleBinding(
{ {
Kind: "ServiceAccount", Kind: "ServiceAccount",
APIGroup: "", APIGroup: "",
Name: cluster.Name, Name: clusterServiceAccountName,
Namespace: cluster.Namespace, Namespace: cluster.Namespace,
}, },
}, },

View File

@ -35,7 +35,7 @@ object storage system. It allows you to configure:
- **Base backup options**—with similar settings for compression, concurrency, - **Base backup options**—with similar settings for compression, concurrency,
and encryption—under `.spec.configuration.data` and encryption—under `.spec.configuration.data`
- **Retention policies** to manage the life-cycle of archived WALs and backups - **Retention policies** to manage the life-cycle of archived WALs and backups
via `.spec.configuration.retentionPolicy` via `.spec.retentionPolicy`
WAL files are archived in the `wals` directory, while base backups are stored WAL files are archived in the `wals` directory, while base backups are stored
as **tarballs** in the `base` directory, following the as **tarballs** in the `base` directory, following the