-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add plugin for support asynchronous storage (#525)
* Add async storage plugin Signed-off-by: Vitalii Parfonov <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v2 | ||
publisher: eclipse | ||
name: che-async-pv-plugin | ||
version: nightly | ||
type: Che Plugin | ||
displayName: Che Async Storage Service | ||
title: Che Async Storage Service Plugin | ||
description: Che Plug-in with service to provide abilty for backup/restore project source from async storage | ||
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg | ||
repository: https://github.com/che-incubator/workspace-data-sync | ||
firstPublicationDate: "2020-07-10" | ||
category: Other | ||
spec: | ||
endpoints: | ||
- name: "che-rsync-events" | ||
public: true | ||
targetPort: 4445 | ||
attributes: | ||
protocol: ws | ||
type: rsync | ||
discoverable: false | ||
secure: false | ||
cookiesAuthEnabled: true | ||
containers: | ||
- name: che-rsync | ||
image: "quay.io/eclipse/che-sidecar-workspace-data-sync:latest" | ||
memoryLimit: "512M" | ||
lifecycle: | ||
preStop: | ||
exec: | ||
command: ["/bin/sh", "-c", "/scripts/backup.sh"] | ||
mountSources: true | ||
ports: | ||
- exposedPort: 4445 | ||
env: | ||
- name: RSYNC_PORT | ||
value: "2222" |