Skip to content

Commit

Permalink
Added ResourceModifier to Velero Documentation (#8467)
Browse files Browse the repository at this point in the history
* Doc updated, added resourceModifier

Signed-off-by: Priyansh Choudhary <[email protected]>

* Updated yaml to remove Apiversion

Signed-off-by: Priyansh Choudhary <[email protected]>

* Updated name of configmap

Signed-off-by: Priyansh Choudhary <[email protected]>

* Added doc updation to main page

Signed-off-by: Priyansh Choudhary <[email protected]>

---------

Signed-off-by: Priyansh Choudhary <[email protected]>
  • Loading branch information
priyansh17 authored Dec 2, 2024
1 parent 074f265 commit f338e87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/content/docs/main/api-types/restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ spec:
# existingResourcePolicy specifies the restore behaviour
# for the Kubernetes resource to be restored. Optional
existingResourcePolicy: none
# ResourceModifier specifies the reference to JSON resource patches
# that should be applied to resources before restoration. Optional
resourceModifier:
kind: ConfigMap
name: resource-modifier-configmap
# Actions to perform during or post restore. The only hooks currently supported are
# adding an init container to a pod before it can be restored and executing a command in a
# restored pod's container. Optional.
Expand Down
5 changes: 5 additions & 0 deletions site/content/docs/v1.15/api-types/restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ spec:
# existingResourcePolicy specifies the restore behaviour
# for the Kubernetes resource to be restored. Optional
existingResourcePolicy: none
# ResourceModifier specifies the reference to JSON resource patches
# that should be applied to resources before restoration. Optional
resourceModifier:
kind: ConfigMap
name: resource-modifier-configmap
# Actions to perform during or post restore. The only hooks currently supported are
# adding an init container to a pod before it can be restored and executing a command in a
# restored pod's container. Optional.
Expand Down

0 comments on commit f338e87

Please sign in to comment.