mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
- Add Default Resource Modifiers section to restore-resource-modifiers.md - Add --default-resource-modifier-configmap to customize-installation.md - Add examples/default-resource-modifier-cni.yaml with CNI annotation stripping rules for OVN-K and Multus - Update restore describer to show SkipDefaultResourceModifier when set - Log warning when ResourceModifier Kind is not ConfigMap instead of silently doing nothing - Add deployment_test.go coverage for the new server flag Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
19 lines
468 B
YAML
19 lines
468 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: default-restore-resource-modifiers
|
|
namespace: velero
|
|
data:
|
|
resource-modifiers.yaml: |
|
|
version: v1
|
|
resourceModifierRules:
|
|
- conditions:
|
|
groupResource: pods
|
|
mergePatches:
|
|
- patchData: |
|
|
metadata:
|
|
annotations:
|
|
k8s.ovn.org/pod-networks: null
|
|
k8s.v1.cni.cncf.io/network-status: null
|
|
k8s.v1.cni.cncf.io/networks-status: null
|