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

Conversation

AndrienkoAleksandr
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr commented Sep 20, 2019

What does this PR do?

Update plugin meta yaml structure definition: defined commands and arguments for plugin container, defined initContainers field, defined persistVolume field.

Referenced issue:

eclipse-che/che#13387
Depends on eclipse-che/che-plugin-broker#74 and eclipse-che/che#14539

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@l0rd
Copy link
Contributor

l0rd commented Sep 23, 2019

@AndrienkoAleksandr you should update the related che docs section as well.

README.md Outdated
@@ -100,12 +100,44 @@ spec: # spec (used to be che-plugin.yaml)
env: # list of env vars to set in sidecar
- name:
value:
command: # optinal; definition of root process command inside container
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/optinal/optional/

README.md Outdated
volumes: # volumes required by plugin
- mountPath:
name:
persistVolume: # boolean; if true volume will be persisted, otherwise volume will be ephemeral; default value is true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following the discussion here, I would go with a more k8s-like name here with a default value of false. I suggested emptyDir but ephemeral also works.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@AndrienkoAleksandr AndrienkoAleksandr merged commit 4a491d4 into master Sep 26, 2019
@AndrienkoAleksandr AndrienkoAleksandr deleted the updatePluginMetaYamlStructureDefinition branch September 26, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants