This task modifies a data object (DataVolumes or DataSources).
This task should be run with modify-data-object-task
serviceAccount.
Please see RBAC permissions for running the tasks for more details.
- manifest: YAML manifest of a data object to be created.
- namespace: Namespace where to create the data object. (defaults to manifest namespace or active namespace)
- waitForSuccess: Set to
true
orfalse
if container should wait for Ready condition of the data object. - allowReplace: Allow replacing an already existing data object (same combination name/namespace). Allowed values true/false
- deleteObject: Set to
true
orfalse
if task should delete the specified DataVolume, DataSource or PersistentVolumeClaim. If set to 'true' the ds/dv/pvc will be deleted and all other parameters are ignored. - deleteObjectKind: Kind of the data object to delete. This parameter is used only for Delete operation.
- deleteObjectName: Name of the data object to delete. This parameter is used only for Delete operation.
- name: The name of the data object that was created.
- namespace: The namespace of the data object that was created.
Please see examples on how to modify data objects.