mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-09 06:33:22 +00:00
Merge branch 'main' into vgdp-for-fs-backup-design
This commit is contained in:
1
changelogs/unreleased/8982-vishal-chdhry
Normal file
1
changelogs/unreleased/8982-vishal-chdhry
Normal file
@@ -0,0 +1 @@
|
||||
fix: update mc command in minio-deployment example
|
||||
@@ -107,7 +107,7 @@ spec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "mc --config-dir=/config config host add velero http://minio:9000 minio minio123 && mc --config-dir=/config mb -p velero/velero"
|
||||
- "mc --config-dir=/config alias set velero http://minio:9000 minio minio123 && mc --config-dir=/config mb -p velero/velero"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/config"
|
||||
|
||||
@@ -69,6 +69,8 @@ func (m *MultiNSBackup) Init() error {
|
||||
for _, excludeNamespace := range namespaces.Items {
|
||||
*m.NSExcluded = append(*m.NSExcluded, excludeNamespace.Name)
|
||||
}
|
||||
// Add Velero installed namespace into the exclude list.
|
||||
*m.NSExcluded = append(*m.NSExcluded, m.VeleroCfg.VeleroNamespace)
|
||||
|
||||
m.BackupArgs = []string{
|
||||
"create", "--namespace", m.VeleroCfg.VeleroNamespace, "backup", m.BackupName,
|
||||
|
||||
Reference in New Issue
Block a user