Skip to content

Commit

Permalink
Automated Velero version update 1.11.0 (#4638)
Browse files Browse the repository at this point in the history
* Create new Velero version

* test making backups with the kotsadm CLI

* ensure kotsadm bundle is present in airgap

* include registry

---------

Co-authored-by: emosbaugh <[email protected]>
Co-authored-by: Andrew Lavery <[email protected]>
  • Loading branch information
3 people authored Jun 26, 2023
1 parent 0b2db5f commit cfffe68
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/velero/1.11.0/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image velero-restore-helper-gcr gcr.io/velero-gcp/velero-restore-helper:v1.11.0
image velero-aws velero/velero-plugin-for-aws:v1.7.0
image velero-gcp velero/velero-plugin-for-gcp:v1.7.0
image velero-azure velero/velero-plugin-for-microsoft-azure:v1.7.0
image local-volume-provider replicated/local-volume-provider:v0.5.3
image local-volume-provider replicated/local-volume-provider:v0.5.4
image s3cmd kurlsh/s3cmd:20230406-9a6d89f

asset velero.tar.gz https://github.com/vmware-tanzu/velero/releases/download/v1.11.0/velero-v1.11.0-linux-amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion addons/velero/1.11.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function velero_install() {
$bslArgs \
$secretArgs \
--namespace $VELERO_NAMESPACE \
--plugins velero/velero-plugin-for-aws:v1.7.0,velero/velero-plugin-for-gcp:v1.7.0,velero/velero-plugin-for-microsoft-azure:v1.7.0,replicated/local-volume-provider:v0.5.3,"$KURL_UTIL_IMAGE" \
--plugins velero/velero-plugin-for-aws:v1.7.0,velero/velero-plugin-for-gcp:v1.7.0,velero/velero-plugin-for-microsoft-azure:v1.7.0,replicated/local-volume-provider:v0.5.4,"$KURL_UTIL_IMAGE" \
--use-volume-snapshots=false \
--dry-run -o yaml > "$dst/velero.yaml"

Expand Down
30 changes: 30 additions & 0 deletions addons/velero/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
version: "latest"
containerd:
version: "latest"
kotsadm:
version: latest
velero:
version: "__testver__"
s3Override: "__testdist__"
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
install_and_customize_kurl_integration_test_application
kubectl kots backup
kubectl kots backup ls
- name: "Velero Minimal Airgap"
airgap: true
installerSpec:
Expand All @@ -22,12 +29,21 @@
version: "latest"
containerd:
version: "latest"
kotsadm:
version: latest
registry:
version: latest
velero:
version: "__testver__"
s3Override: "__testdist__"
preInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
rhel_9_install_host_packages lvm2 conntrack-tools socat container-selinux git
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
install_and_customize_kurl_integration_test_application
kubectl kots backup
kubectl kots backup ls
- name: "Velero DisableS3 - Rook"
installerSpec:
kubernetes:
Expand All @@ -44,6 +60,11 @@
velero:
version: "__testver__"
s3Override: "__testdist__"
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
install_and_customize_kurl_integration_test_application
kubectl kots backup
kubectl kots backup ls
- name: "Velero OpenEBS only"
installerSpec:
kubernetes:
Expand Down Expand Up @@ -102,3 +123,12 @@
version: "latest"
unsupportedOSIDs:
- centos-74 # Rook 1.8+ not supported on 3.10.0-693.el7.x86_64 kernel
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
install_and_customize_kurl_integration_test_application
kubectl kots backup
kubectl kots backup ls
postUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
kubectl kots backup
kubectl kots backup ls

0 comments on commit cfffe68

Please sign in to comment.