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

SDL Builder: mount point discarded if volume name != "data" #71

Closed
tennox opened this issue Jan 10, 2024 · 1 comment · Fixed by #79
Closed

SDL Builder: mount point discarded if volume name != "data" #71

tennox opened this issue Jan 10, 2024 · 1 comment · Fixed by #79
Assignees

Comments

@tennox
Copy link

tennox commented Jan 10, 2024

Reproductions

  1. Go do SDL builder
  2. paste yaml
  3. go to builder tab

Works:

---
version: "2.0"
services:
  foo:
    image: ""
    expose:
      - port: 80
        as: 80
        to:
          - global: true
    params:
      storage:
        data:
          mount: /test
          readOnly: false
profiles:
  compute:
    foo:
      resources:
        cpu:
          units: 0.1
        memory:
          size: 512Mi
        storage:
          - size: 1Gi
          - name: data
            size: 10Gi
            attributes:
              persistent: true
              class: beta1
  placement:
    dcloud:
      pricing:
        foo:
          denom: uakt
          amount: 1000
deployment:
  foo:
    dcloud:
      profile: foo
      count: 1

Broken:

---
version: "2.0"
services:
  foo:
    image: ""
    expose:
      - port: 80
        as: 80
        to:
          - global: true
    params:
      storage:
        dato:
          mount: /test
          readOnly: false
profiles:
  compute:
    foo:
      resources:
        cpu:
          units: 0.1
        memory:
          size: 512Mi
        storage:
          - size: 1Gi
          - name: dato
            size: 10Gi
            attributes:
              persistent: true
              class: beta1
  placement:
    dcloud:
      pricing:
        foo:
          denom: uakt
          amount: 1000
deployment:
  foo:
    dcloud:
      profile: foo
      count: 1

image

@baktun14 baktun14 self-assigned this Jan 17, 2024
@baktun14 baktun14 reopened this Jan 17, 2024
@baktun14
Copy link
Contributor

Thanks for reporting, there was in fact a bug in the code! I will release a fix asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released (in Prod)
Development

Successfully merging a pull request may close this issue.

2 participants