Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin meta yaml structure definition. #225

Merged
merged 2 commits into from
Sep 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,44 @@ spec: # spec (used to be che-plugin.yaml)
env: # list of env vars to set in sidecar
- name:
value:
command: # optional; definition of root process command inside container
- /bin/sh
args: # optional; list arguments for root process command inside container
- -c
./entrypoint.sh
volumes: # volumes required by plugin
- mountPath:
name:
ephemeral: # boolean; if true volume will be ephemeral, otherwise volume will be persisted
ports: # ports exposed by plugin (on the container)
- exposedPort:
commands: # commands available to plugin container
commands: # development commands available to plugin container
- name:
workingDir:
command: # list of commands + arguments, e.g.:
- rm
- -rf
- /cache/.m2/repository
mountSources: # boolean
initContainers: # optional; init containers for sidecar plugin
- image:
name: # name used for sidecar container
memorylimit: # Kubernetes/OpenShift-spec memory limit string (e.g. "512Mi")
env: # list of env vars to set in sidecar
- name:
value:
command: # optional; definition of root process command inside container
- /bin/sh
args: # optional; list arguments for root process command inside container
- -c
./entrypoint.sh
volumes: # volumes required by plugin
- mountPath:
name:
ephemeral: # boolean; if true volume will be ephemeral, otherwise volume will be persisted
ports: # ports exposed by plugin (on the container)
- exposedPort:
commands: # development commands available to plugin container
- name:
workingDir:
command: # list of commands + arguments, e.g.:
Expand Down