Skip to content

Commit 8ebab6d

Browse files
authored
Backup registry (#593)
* override kots image * include registry ns * backup registry data volume * update unit test expectations * updated kotsadm image * remove image override
1 parent c49b6cc commit 8ebab6d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

pkg/addons/registry/registry.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ var helmValues = map[string]interface{}{
4040
"image": map[string]interface{}{
4141
"tag": ImageVersion,
4242
},
43+
"podAnnotations": map[string]interface{}{
44+
"backup.velero.io/backup-volumes": "data",
45+
},
4346
"storage": "filesystem",
4447
"persistence": map[string]interface{}{
4548
"enabled": true,

pkg/addons/testdata/generate-helm-config-overrides-multiple-addons.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ expected:
4545
storageClass: openebs-hostpath
4646
replicaCount: 3
4747
storage: filesystem
48+
podAnnotations:
49+
backup.velero.io/backup-volumes: data
4850
- name: openebs
4951
values: |
5052
newProperty: newValue

pkg/addons/testdata/generate-helm-config-overrides-registry.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ expected:
3434
storageClass: openebs-hostpath
3535
replicaCount: 8
3636
storage: filesystem
37+
podAnnotations:
38+
backup.velero.io/backup-volumes: data

0 commit comments

Comments
 (0)