Skip to content

Commit

Permalink
Add option to create snapshot for PVC
Browse files Browse the repository at this point in the history
'Create Snapshot` action in kebab menu for PVC will allow
user to create in-time images of snapshot.
Signed-off-by: Kanika <kmurarka@redhat.com>
  • Loading branch information
Kanika committed Jul 5, 2020
1 parent ce430d0 commit d2606f7
Show file tree
Hide file tree
Showing 23 changed files with 332 additions and 838 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Expand Up @@ -16,11 +16,13 @@ import {
ModalTitle,
createModalLauncher,
} from '@console/internal/components/factory';
import { NamespaceModel, PersistentVolumeClaimModel } from '@console/internal/models';
import {
NamespaceModel,
PersistentVolumeClaimModel,
VolumeSnapshotModel, // TODO: create a public component for restore modal
} from '@console/internal/models';
import { getName, getNamespace } from '@console/shared';

import { VolumeSnapshotModel } from '../../../models';

export const RestorePVCModal = withHandlePromise((props: RestorePVCModalProps) => {
const { close, cancel, resource, errorMessage, inProgress, handlePromise } = props;
const [pvcResource, setResource] = React.useState(null);
Expand Down

This file was deleted.

0 comments on commit d2606f7

Please sign in to comment.