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

devfile/library doesn't reflect ephemeral volume setting #642

Closed
kadel opened this issue Oct 8, 2021 · 0 comments · Fixed by devfile/library#121
Closed

devfile/library doesn't reflect ephemeral volume setting #642

kadel opened this issue Oct 8, 2021 · 0 comments · Fixed by devfile/library#121
Assignees
Labels
area/library Common devfile library for interacting with devfiles kind/bug Something isn't working

Comments

@kadel
Copy link
Member

kadel commented Oct 8, 2021

/kind bug

Which area this bug is related to?

/area library

What versions of software are you using?

Operating System:

Go Pkg Version:
devfile/library v1.2.0

Bug Summary

To Reproduce:
define ephemeral devfile volume component

- name: volume-test
  volume:
    ephemeral: true

currently, it will create PVC volume

      volumes:
      - name: volume-test-volume
        persistentVolumeClaim:
          claimName: volume-test-pvc

Expected behavior

if ephemeral: true the kubernetes volume inside Deployment should be emptyDir

      volumes:
      - name: volume-test-volume
        emptyDir: {}
@openshift-ci openshift-ci bot added kind/bug Something isn't working area/library Common devfile library for interacting with devfiles labels Oct 8, 2021
@yangcao77 yangcao77 self-assigned this Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/library Common devfile library for interacting with devfiles kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants