Skip to content

Commit

Permalink
Release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobioz committed Aug 31, 2020
1 parent 58660a0 commit 331faf9
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 7 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [2.3.0](https://github.com/camptocamp/bivac/releases/tag/2.3.0) (2020-08-31)

IMPROVEMENTS:

- `core`: Add support of custom backup interval
- `build`: Add support of ARM architecture
- `build`: Improve multiarch docker image build
- `docker`: Add support of custom network usage ([#342](https://github.com/camptocamp/bivac/pull/342))
- `chart`: Generic improvements
- `vendoring`: Switch from vendor directory to Go modules

BUG FIXES:

- `core`: Fix raw command output format
- `chart`: Fix deployment template
- `docker`: Fix tests

Various minor bugs have also been fixed.

# [2.2.0](https://github.com/camptocamp/bivac/releases/tag/2.2.0) (2019-10-24)

IMPROVEMENTS:
Expand Down
2 changes: 1 addition & 1 deletion cmd/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func init() {
managerCmd.Flags().StringVarP(&logServer, "log.server", "", "", "Manager's API address that will receive logs from agents.")
envs["BIVAC_LOG_SERVER"] = "log.server"

managerCmd.Flags().StringVarP(&agentImage, "agent.image", "", "camptocamp/bivac:2.2", "Agent's Docker image.")
managerCmd.Flags().StringVarP(&agentImage, "agent.image", "", "camptocamp/bivac:2.3.0", "Agent's Docker image.")
envs["BIVAC_AGENT_IMAGE"] = "agent.image"

managerCmd.Flags().StringVarP(&whitelistVolumes, "whitelist", "", "", "Whitelist volumes.")
Expand Down
2 changes: 1 addition & 1 deletion contrib/charts/bivac/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: bivac
home: https://github.com/camptocamp/bivac
icon: https://raw.githubusercontent.com/camptocamp/bivac/master/img/bivac_small.png
version: 1.0.0
appVersion: latest
appVersion: 2.3.0
description: 'Backup Interface for Volumes Attached to Containers'
keywords:
- backup
Expand Down
2 changes: 1 addition & 1 deletion contrib/charts/bivac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The following tables list the configurable parameters of the Bivac chart and the
| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `image.repository` | Repository for the Bivac image. | `camptocamp/bivac` |
| `image.tag` | Tag of the Bivac image. | `2.2` |
| `image.tag` | Tag of the Bivac image. | `2.3.0` |
| `image.pullPolicy` | Pull policy for the Bivac image. | `IfNotPresent` |
| `orchestrator` | Orchestrator Bivac will run on. | `kubernetes` |
| `watchAllNamespaces` | Let Bivac backup volumes from all namespaces. | `true` |
Expand Down
2 changes: 1 addition & 1 deletion contrib/charts/bivac/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: camptocamp/bivac
tag: 2.2
tag: 2.3.0
pullPolicy: IfNotPresent

annotations:
Expand Down
4 changes: 2 additions & 2 deletions contrib/openshift/bivac-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ parameters:
- name: BIVAC_BLACKLIST
description: Do not backup blacklisted volumes (comma-separated list of PVC names)
- name: BIVAC_MANAGER_IMAGE
value: camptocamp/bivac:2.2
value: camptocamp/bivac:2.3.0
description: image used for bivac manager
- name: BIVAC_AGENT_IMAGE
value: camptocamp/bivac:2.2
value: camptocamp/bivac:2.3.0
description: Agent's Docker image
- name: BIVAC_VERBOSE
description: Enable verbose output (bool)
Expand Down
2 changes: 1 addition & 1 deletion pkg/orchestrators/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (o *KubernetesOrchestrator) ContainerExec(mountedVolumes *volume.MountedVol
return
}

req := o.client.Core().RESTClient().Post().
req := o.client.CoreV1().RESTClient().Post().
Resource("pods").
Name(mountedVolumes.PodID).
Namespace(mountedVolumes.Volume.Namespace).
Expand Down

0 comments on commit 331faf9

Please sign in to comment.