Skip to content

[Bug]: I am not able to use the YAML import #289

@alephtaph

Description

@alephtaph

What happened?

When I try to use a yaml file for import it always gives me an error, even when I copy an already existing service:

MappingStart
- kind: Service
  network:
    ip: 0.0.0.0
    port: 8304
    protocol: http
    url: http://0.0.0.0:8304
  name: actual server
  tags:
  - prod
  labels:
    image: actualbudget/actual-server
  runsOn:
  - myserver

Error: YAML invalid: While scanning a multiline plain scalar, found invalid mapping.

I am aware that this might be a user due to lack on knowledge :-)

Please advice, because this import function would be the best.
Thank you.

Where does this occur?

Web UI

How do you run RackPeek?

Docker

RackPeek version

latest

Steps to reproduce (optional)

MappingStart
- kind: Service
  network:
    ip: 0.0.0.0
    port: 8304
    protocol: http
    url: http://0.0.0.0:8304
  name: actual server
  tags:
  - prod
  labels:
    image: actualbudget/actual-server
  runsOn:
  - myserver

Screenshots (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions