Skip to content

Commit

Permalink
chore(deps): update velero (#486)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[cgr.dev/du-uds-defenseunicorns/kubectl-fips](https://edu.chainguard.dev/chainguard/chainguard-images/reference/kubectl-fips/)
([source](https://togithub.com/chainguard-images/images/tree/HEAD/images/kubectl-fips))
| patch | `1.29.5-dev` -> `1.29.7-dev` |
|
[cgr.dev/du-uds-defenseunicorns/velero-fips](https://edu.chainguard.dev/chainguard/chainguard-images/reference/velero-fips/)
([source](https://togithub.com/chainguard-images/images/tree/HEAD/images/velero-fips))
| minor | `1.13.2-dev` -> `1.14.0-dev` |
|
[cgr.dev/du-uds-defenseunicorns/velero-plugin-for-aws-fips](https://edu.chainguard.dev/chainguard/chainguard-images/reference/velero-plugin-for-aws-fips/)
([source](https://togithub.com/chainguard-images/images/tree/HEAD/images/velero-plugin-for-aws-fips))
| minor | `1.9.2` -> `1.10.0` |
| [docker.io/bitnami/kubectl](https://togithub.com/bitnami/containers)
([source](https://togithub.com/bitnami/containers/tree/HEAD/bitnami/kubectl))
| patch | `1.30.2` -> `1.30.3` |
|
[registry1.dso.mil/ironbank/opensource/velero/velero](https://velero.io)
([source](https://repo1.dso.mil/dsop/opensource/velero/velero)) | minor
| `v1.13.2` -> `v1.14.0` |
|
[registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-aws](https://togithub.com/vmware-tanzu/velero-plugin-for-aws)
([source](https://repo1.dso.mil/dsop/opensource/velero/velero-plugin-for-aws))
| minor | `v1.9.2` -> `v1.10.0` |
| [velero](https://togithub.com/vmware-tanzu/velero)
([source](https://togithub.com/vmware-tanzu/helm-charts)) | major |
`6.6.0` -> `7.1.4` |
| velero/velero | minor | `v1.13.2` -> `v1.14.0` |
|
[velero/velero-plugin-for-aws](https://togithub.com/vmware-tanzu/velero-plugin-for-aws)
| minor | `v1.9.2` -> `v1.10.0` |

---

### Release Notes

<details>
<summary>vmware-tanzu/helm-charts (velero)</summary>

###
[`v7.1.4`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.1.4)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-7.1.3...velero-7.1.4)

A Helm chart for velero

#### What's Changed

- \[velero] Fix maintenance Job resource requests by
[@&#8203;yaraskm](https://togithub.com/yaraskm) in
[https://github.com/vmware-tanzu/helm-charts/pull/610](https://togithub.com/vmware-tanzu/helm-charts/pull/610)

#### New Contributors

- [@&#8203;yaraskm](https://togithub.com/yaraskm) made their first
contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/610](https://togithub.com/vmware-tanzu/helm-charts/pull/610)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-7.1.3...velero-7.1.4

###
[`v7.1.3`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.1.3)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-7.1.2...velero-7.1.3)

A Helm chart for velero

#### What's Changed

- \[velero] feat: Adds --keep-latest-jobs-count for repository
maintenance job by [@&#8203;navilg](https://togithub.com/navilg) in
[https://github.com/vmware-tanzu/helm-charts/pull/604](https://togithub.com/vmware-tanzu/helm-charts/pull/604)

#### New Contributors

- [@&#8203;navilg](https://togithub.com/navilg) made their first
contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/604](https://togithub.com/vmware-tanzu/helm-charts/pull/604)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-7.1.2...velero-7.1.3

###
[`v7.1.2`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.1.2)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-7.1.1...velero-7.1.2)

A Helm chart for velero

#### What's Changed

- \[velero] feat: Adds resources and limits for repository maintenance
job by [@&#8203;Sebastian-RG](https://togithub.com/Sebastian-RG) in
[https://github.com/vmware-tanzu/helm-charts/pull/602](https://togithub.com/vmware-tanzu/helm-charts/pull/602)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-7.1.1...velero-7.1.2

###
[`v7.1.1`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.1.1)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-7.1.0...velero-7.1.1)

A Helm chart for velero

#### What's Changed

- \[velero] fix imagePullSecrets to velero server serviceaccount
[#&#8203;595](https://togithub.com/vmware-tanzu/helm-charts/issues/595)
by [@&#8203;adonispd](https://togithub.com/adonispd) in
[https://github.com/vmware-tanzu/helm-charts/pull/596](https://togithub.com/vmware-tanzu/helm-charts/pull/596)

#### New Contributors

- [@&#8203;adonispd](https://togithub.com/adonispd) made their first
contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/596](https://togithub.com/vmware-tanzu/helm-charts/pull/596)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-7.1.0...velero-7.1.1

###
[`v7.1.0`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.1.0)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-7.0.0...velero-7.1.0)

A Helm chart for velero

#### What's Changed

- \[velero] add extraArgs to Velero node agent configuration by
[@&#8203;simoncampion](https://togithub.com/simoncampion) in
[https://github.com/vmware-tanzu/helm-charts/pull/593](https://togithub.com/vmware-tanzu/helm-charts/pull/593)

#### New Contributors

- [@&#8203;simoncampion](https://togithub.com/simoncampion) made their
first contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/593](https://togithub.com/vmware-tanzu/helm-charts/pull/593)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-7.0.0...velero-7.1.0

###
[`v7.0.0`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-7.0.0)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-6.7.0...velero-7.0.0)

A Helm chart for velero

#### What's Changed

- \[velero] Bump up Velero 1.14.0 by
[@&#8203;xebia-progress](https://togithub.com/xebia-progress) in
[https://github.com/vmware-tanzu/helm-charts/pull/590](https://togithub.com/vmware-tanzu/helm-charts/pull/590)

#### New Contributors

- [@&#8203;xebia-progress](https://togithub.com/xebia-progress) made
their first contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/590](https://togithub.com/vmware-tanzu/helm-charts/pull/590)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-6.7.0...velero-7.0.0

###
[`v6.7.0`](https://togithub.com/vmware-tanzu/helm-charts/releases/tag/velero-6.7.0)

[Compare
Source](https://togithub.com/vmware-tanzu/helm-charts/compare/velero-6.6.0...velero-6.7.0)

A Helm chart for velero

#### What's Changed

- \[velero] Remove default values for resources by
[@&#8203;rissson](https://togithub.com/rissson) in
[https://github.com/vmware-tanzu/helm-charts/pull/499](https://togithub.com/vmware-tanzu/helm-charts/pull/499)

#### New Contributors

- [@&#8203;rissson](https://togithub.com/rissson) made their first
contribution in
[https://github.com/vmware-tanzu/helm-charts/pull/499](https://togithub.com/vmware-tanzu/helm-charts/pull/499)

**Full Changelog**:
vmware-tanzu/helm-charts@velero-6.6.0...velero-6.7.0

</details>

<details>
<summary>vmware-tanzu/velero-plugin-for-aws
(velero/velero-plugin-for-aws)</summary>

###
[`v1.10.0`](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/releases/tag/v1.10.0):
v1.10

[Compare
Source](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/compare/v1.9.2...v1.10.0)

#### All changes

- Add label
org.opencontainers.image.source([#&#8203;190](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/issues/190),
[@&#8203;robinschneider](https://togithub.com/robinschneider))
- Unset env vars for role-assumption when creds are
set([#&#8203;191](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/issues/191),
[@&#8203;reasonerjt](https://togithub.com/reasonerjt))
- configuration for checksum algorithm for PutObject to
S3([#&#8203;194](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/issues/194),
[@&#8203;reasonerjt](https://togithub.com/reasonerjt))
- Respect the TLS setting in BSL in object store
plugin([#&#8203;195](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/issues/195),
[@&#8203;reasonerjt](https://togithub.com/reasonerjt))
- Bump up to golang
v1.22([#&#8203;199](https://togithub.com/vmware-tanzu/velero-plugin-for-aws/issues/199),
reasonerjt)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/defenseunicorns/uds-core).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micah Nagel <[email protected]>
  • Loading branch information
renovate[bot] and mjnagel authored Aug 6, 2024
1 parent c3ddbbd commit f425e92
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 42 deletions.
15 changes: 11 additions & 4 deletions src/velero/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ By overriding the velero values in the bundle as follows:
value: "velero-bucket-credentials"
```

## Plugin Compatability
This package currently assumes the availability of S3 API compatible object storage. As such, only the AWS specific plugin image is included. More information about all available plugins [can be found in the upstream docs](https://velero.io/plugins/). Ironbank includes images for Azure and the generic CSI driver, but those are currently excluded from this package. We may revisit package defaults at some point in the future depending on usage and user requests.
## Plugin Compatibility

This package currently assumes the availability of S3 API compatible object storage. As such, only the AWS specific plugin image is included, in addition to the CSI plugin which is baked into Velero by default. More information about all available plugins [can be found in the upstream docs](https://velero.io/plugins/). Ironbank includes images for the Azure plugin, but it is currently excluded from this package. We may revisit package defaults at some point in the future depending on usage and user requests.

## Deploy

Expand All @@ -64,18 +65,23 @@ UDS_PKG=velero uds run deploy-single-package

### Test the package via UDS tasks
Running the following will check that the velero deployment exists in the cluster and attempt to execute a backup:

```bash
uds run -f src/velero/tasks.yaml validate
```

> Alternatively, you can combine package creation, cluster setup, package deploy and the test command with a simple `UDS_PKG=velero uds run test-single-package`
## Manually trigger the default backup for testing purposes
```

```bash
velero backup create --from-schedule velero-udsbackup -n velero
```

> NOTE: requires [the velero CLI](https://velero.io/docs/v1.3.0/velero-install/)
Alternatively, manually create a `backup` object with `kubectl`:

```bash
uds zarf tools kubectl apply -f - <<-EOF
apiVersion: velero.io/v1
Expand All @@ -99,6 +105,7 @@ EOF
```

## Manually restore backup

```bash
velero restore create uds-restore-$(date +%s) \
--from-backup <backup-name> \
Expand All @@ -113,4 +120,4 @@ velero restore create uds-restore-$(date +%s) \
> [!NOTE]
> Additional configuration will be required to get CSI backed PVCs to be snapshotted
> as noted in the [Velero documentation](https://velero.io/docs/main/csi/#prerequisites) - VolumeSnapshotLocation, VolumeSnapshotClass, etc.
> as well as switching `snapshotVolume` to `true` in the backup config.
> as well as switching `snapshotVolume` to `true` in the backup config.
2 changes: 1 addition & 1 deletion src/velero/common/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ components:
- name: velero
namespace: velero
url: https://vmware-tanzu.github.io/helm-charts
version: 6.6.0
version: 7.1.4
repoName: velero
releaseName: velero
valuesFiles:
Expand Down
10 changes: 2 additions & 8 deletions src/velero/values/registry1-values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: registry1.dso.mil/ironbank/opensource/velero/velero
tag: v1.13.2
tag: v1.14.0

kubectl:
image:
Expand All @@ -9,13 +9,7 @@ kubectl:

initContainers:
- name: velero-plugin-for-aws
image: registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-aws:v1.9.2
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
- name: velero-plugin-for-csi
image: registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-csi:v0.7.1
image: registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-aws:v1.10.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
Expand Down
12 changes: 3 additions & 9 deletions src/velero/values/unicorn-values.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
image:
repository: cgr.dev/du-uds-defenseunicorns/velero-fips
tag: 1.13.2-dev
tag: 1.14.0-dev

kubectl:
image:
repository: cgr.dev/du-uds-defenseunicorns/kubectl-fips
tag: 1.29.5-dev
tag: 1.29.7-dev

initContainers:
- name: velero-plugin-for-aws
image: cgr.dev/du-uds-defenseunicorns/velero-plugin-for-aws-fips:1.9.2
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
- name: velero-plugin-for-csi
image: cgr.dev/du-uds-defenseunicorns/velero-plugin-for-csi-fips:0.7.1
image: cgr.dev/du-uds-defenseunicorns/velero-plugin-for-aws-fips:1.10.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
Expand Down
12 changes: 3 additions & 9 deletions src/velero/values/upstream-values.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
image:
repository: velero/velero
tag: v1.13.2
tag: v1.14.0

kubectl:
image:
repository: docker.io/bitnami/kubectl
tag: 1.30.2
tag: 1.30.3

initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.9.2
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
- name: velero-plugin-for-csi
image: velero/velero-plugin-for-csi:v0.7.1
image: velero/velero-plugin-for-aws:v1.10.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
Expand Down
19 changes: 8 additions & 11 deletions src/velero/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ components:
valuesFiles:
- values/upstream-values.yaml
images:
- velero/velero:v1.13.2
- velero/velero-plugin-for-aws:v1.9.2
- docker.io/bitnami/kubectl:1.30.2
- velero/velero-plugin-for-csi:v0.7.1
- velero/velero:v1.14.0
- velero/velero-plugin-for-aws:v1.10.0
- docker.io/bitnami/kubectl:1.30.3

- name: velero
required: true
Expand All @@ -32,9 +31,8 @@ components:
valuesFiles:
- values/registry1-values.yaml
images:
- registry1.dso.mil/ironbank/opensource/velero/velero:v1.13.2
- registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-aws:v1.9.2
- registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-csi:v0.7.1
- registry1.dso.mil/ironbank/opensource/velero/velero:v1.14.0
- registry1.dso.mil/ironbank/opensource/velero/velero-plugin-for-aws:v1.10.0
- registry1.dso.mil/ironbank/big-bang/base:2.1.0

- name: velero
Expand All @@ -48,7 +46,6 @@ components:
valuesFiles:
- values/unicorn-values.yaml
images:
- cgr.dev/du-uds-defenseunicorns/velero-fips:1.13.2-dev
- cgr.dev/du-uds-defenseunicorns/velero-plugin-for-aws-fips:1.9.2
- cgr.dev/du-uds-defenseunicorns/velero-plugin-for-csi-fips:0.7.1
- cgr.dev/du-uds-defenseunicorns/kubectl-fips:1.29.5-dev
- cgr.dev/du-uds-defenseunicorns/velero-fips:1.14.0-dev
- cgr.dev/du-uds-defenseunicorns/velero-plugin-for-aws-fips:1.10.0
- cgr.dev/du-uds-defenseunicorns/kubectl-fips:1.29.7-dev

0 comments on commit f425e92

Please sign in to comment.