[GUI] OAM validation not detecting invalid indentations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NebulOuS |
Triaged
|
High
|
Fotis Paraskevopoulos |
Bug Description
The following OAM is considered to be valid by the GUI, however, optimizer controller complains about "uld not parse KubeVela YAML in app creation message: while scanning for the next token\nfound character '\\t(TAB)' that cannot start any token. (Do not use \\t(TAB) for indentation)\n in". Also, other online YAML validators, although they don't complain, they change the indentation of the file.
apiVersion: "core.oam.
kind: "Application"
metadata:
name: "augmenta-app"
spec:
components:
- name: "map-generation
type: "webservice"
properties:
image: augmentacloud/
imagePull
magePullS
cpu: "8.0"
memory: "2400Mi"
traits:
- type: "scaler"
properties:
replicas: 1
Changed in nebulous: | |
importance: | Undecided → High |
Moved to GitHub https:/ /github. com/eu- nebulous/ gui/issues/ 7