mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-03-10 12:42:20 +01:00
Compare commits
4 Commits
6a61095e56
...
5f2f3a448b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f2f3a448b | ||
|
|
c6a24f9bd4 | ||
|
|
fa546eae05 | ||
|
|
ad8a1767a7 |
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "0.10.0"
|
".": "0.11.0"
|
||||||
}
|
}
|
||||||
|
|||||||
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,5 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.11.0](https://github.com/cloudnative-pg/plugin-barman-cloud/compare/v0.10.0...v0.11.0) (2026-01-14)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Add support for DefaultAzureCredential authentication mechanism ([#681](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/681)) ([2c134ea](https://github.com/cloudnative-pg/plugin-barman-cloud/commit/2c134eafe456ee77bbd46187040aa5041e5643ab))
|
||||||
|
* **deps:** Update barman-cloud to v3.17.0 ([#702](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/702)) ([fa546ea](https://github.com/cloudnative-pg/plugin-barman-cloud/commit/fa546eae0581a191abb625904b95d85a65d3ab08))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **azure:** Update barman-cloud with Azure validation fix ([#710](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/710)) ([0153abb](https://github.com/cloudnative-pg/plugin-barman-cloud/commit/0153abba82437fdb9fa47094c83aaa532ce45f67)), closes [#705](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/705)
|
||||||
|
* **deps:** Update all non-major go dependencies ([#719](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/719)) ([4a637d7](https://github.com/cloudnative-pg/plugin-barman-cloud/commit/4a637d7c58aad9dae70303af05e2a5fd95526d63))
|
||||||
|
* **deps:** Update k8s.io/utils digest to 914a6e7 ([#715](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/715)) ([b3bcf6d](https://github.com/cloudnative-pg/plugin-barman-cloud/commit/b3bcf6d9c1295a3acbe38124c70de18e5db85cf1))
|
||||||
|
|
||||||
## [0.10.0](https://github.com/cloudnative-pg/plugin-barman-cloud/compare/v0.9.0...v0.10.0) (2025-12-30)
|
## [0.10.0](https://github.com/cloudnative-pg/plugin-barman-cloud/compare/v0.9.0...v0.10.0) (2025-12-30)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,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: 5dcc7e4c4cd5ed230046955f42e27f2166545155
|
DAGGER_GOLANGCI_LINT_SHA: 5dcc7e4c4cd5ed230046955f42e27f2166545155
|
||||||
# renovate: datasource=docker depName=golangci/golangci-lint versioning=semver
|
# renovate: datasource=docker depName=golangci/golangci-lint versioning=semver
|
||||||
GOLANGCI_LINT_VERSION: v2.7.2
|
GOLANGCI_LINT_VERSION: v2.8.0
|
||||||
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}
|
||||||
|
|||||||
@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache
|
|||||||
# Use plugin-barman-cloud-base to get the dependencies.
|
# Use plugin-barman-cloud-base to get the dependencies.
|
||||||
# pip will build everything inside /usr, so we copy every file into a new
|
# pip will build everything inside /usr, so we copy every file into a new
|
||||||
# destination that will then be copied into the distroless container
|
# destination that will then be copied into the distroless container
|
||||||
FROM ghcr.io/cloudnative-pg/plugin-barman-cloud-base:3.16.2-202512221525 AS pythonbuilder
|
FROM ghcr.io/cloudnative-pg/plugin-barman-cloud-base:3.17.0-202601131704 AS pythonbuilder
|
||||||
# Prepare a new /usr/ directory with the files we'll need in the final image
|
# Prepare a new /usr/ directory with the files we'll need in the final image
|
||||||
RUN mkdir /new-usr/ && \
|
RUN mkdir /new-usr/ && \
|
||||||
cp -r --parents /usr/local/lib/ /usr/lib/*-linux-gnu/ /usr/local/bin/ \
|
cp -r --parents /usr/local/lib/ /usr/lib/*-linux-gnu/ /usr/local/bin/ \
|
||||||
|
|||||||
@ -43,7 +43,7 @@ const (
|
|||||||
// Data is the metadata of this plugin.
|
// Data is the metadata of this plugin.
|
||||||
var Data = identity.GetPluginMetadataResponse{
|
var Data = identity.GetPluginMetadataResponse{
|
||||||
Name: PluginName,
|
Name: PluginName,
|
||||||
Version: "0.10.0", // x-release-please-version
|
Version: "0.11.0", // x-release-please-version
|
||||||
DisplayName: "BarmanCloudInstance",
|
DisplayName: "BarmanCloudInstance",
|
||||||
ProjectUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud",
|
ProjectUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud",
|
||||||
RepositoryUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud",
|
RepositoryUrl: "https://github.com/cloudnative-pg/plugin-barman-cloud",
|
||||||
|
|||||||
@ -353,30 +353,31 @@ func reconcilePodSpec(
|
|||||||
sidecarTemplate corev1.Container,
|
sidecarTemplate corev1.Container,
|
||||||
config sidecarConfiguration,
|
config sidecarConfiguration,
|
||||||
) error {
|
) error {
|
||||||
envs := []corev1.EnvVar{
|
envs := make([]corev1.EnvVar, 0, 5+len(config.env))
|
||||||
{
|
envs = append(envs,
|
||||||
|
corev1.EnvVar{
|
||||||
Name: "NAMESPACE",
|
Name: "NAMESPACE",
|
||||||
Value: cluster.Namespace,
|
Value: cluster.Namespace,
|
||||||
},
|
},
|
||||||
{
|
corev1.EnvVar{
|
||||||
Name: "CLUSTER_NAME",
|
Name: "CLUSTER_NAME",
|
||||||
Value: cluster.Name,
|
Value: cluster.Name,
|
||||||
},
|
},
|
||||||
{
|
corev1.EnvVar{
|
||||||
// TODO: should we really use this one?
|
// TODO: should we really use this one?
|
||||||
// should we mount an emptyDir volume just for that?
|
// should we mount an emptyDir volume just for that?
|
||||||
Name: "SPOOL_DIRECTORY",
|
Name: "SPOOL_DIRECTORY",
|
||||||
Value: "/controller/wal-restore-spool",
|
Value: "/controller/wal-restore-spool",
|
||||||
},
|
},
|
||||||
{
|
corev1.EnvVar{
|
||||||
Name: "CUSTOM_CNPG_GROUP",
|
Name: "CUSTOM_CNPG_GROUP",
|
||||||
Value: cluster.GetObjectKind().GroupVersionKind().Group,
|
Value: cluster.GetObjectKind().GroupVersionKind().Group,
|
||||||
},
|
},
|
||||||
{
|
corev1.EnvVar{
|
||||||
Name: "CUSTOM_CNPG_VERSION",
|
Name: "CUSTOM_CNPG_VERSION",
|
||||||
Value: cluster.GetObjectKind().GroupVersionKind().Version,
|
Value: cluster.GetObjectKind().GroupVersionKind().Version,
|
||||||
},
|
},
|
||||||
}
|
)
|
||||||
|
|
||||||
envs = append(envs, config.env...)
|
envs = append(envs, config.env...)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user