mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-06 06:52:21 +02:00
Compare commits
6 Commits
345a2bdd6d
...
bb7f27d64e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb7f27d64e | ||
|
|
a95197e648 | ||
|
|
ad5311efa5 | ||
|
|
c5dafb3dbf | ||
|
|
50c55fd075 | ||
|
|
bdf568f48f |
@ -23,7 +23,7 @@ tasks:
|
||||
# renovate: datasource=git-refs depName=golangci-lint lookupName=https://github.com/sagikazarmark/daggerverse currentValue=main
|
||||
DAGGER_GOLANGCI_LINT_SHA: ff27cd50f6b4eed2e3753c520632cd6099e1ce52
|
||||
# renovate: datasource=docker depName=golangci/golangci-lint versioning=semver
|
||||
GOLANGCI_LINT_VERSION: v2.13.1
|
||||
GOLANGCI_LINT_VERSION: v2.13.2
|
||||
cmds:
|
||||
- >
|
||||
GITHUB_REF= dagger -sc "github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA}
|
||||
|
||||
@ -126,6 +126,10 @@ func ObjectStoreNamesFromRole(role *rbacv1.Role) []string {
|
||||
func BuildRoleBinding(
|
||||
cluster *cnpgv1.Cluster,
|
||||
) *rbacv1.RoleBinding {
|
||||
clusterServiceAccountName := cluster.Name
|
||||
if cluster.Spec.ServiceAccountName != "" {
|
||||
clusterServiceAccountName = cluster.Spec.ServiceAccountName
|
||||
}
|
||||
return &rbacv1.RoleBinding{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Namespace: cluster.Namespace,
|
||||
@ -136,7 +140,7 @@ func BuildRoleBinding(
|
||||
{
|
||||
Kind: "ServiceAccount",
|
||||
APIGroup: "",
|
||||
Name: cluster.Name,
|
||||
Name: clusterServiceAccountName,
|
||||
Namespace: cluster.Namespace,
|
||||
},
|
||||
},
|
||||
|
||||
@ -35,7 +35,7 @@ object storage system. It allows you to configure:
|
||||
- **Base backup options**—with similar settings for compression, concurrency,
|
||||
and encryption—under `.spec.configuration.data`
|
||||
- **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
|
||||
as **tarballs** in the `base` directory, following the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user