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.dev/v1beta1"
kind: "Application"
metadata:
name: "augmenta-app"
spec:
components:
-
name: "map-generation-demo"
type: "webservice"
properties:
image: augmentacloud/map-generation:latest
imagePullPolicy: "Always"
magePullSecrets: ["regcred"]
cpu: "8.0"
memory: "2400Mi"
traits:- type: "scaler"
properties:
replicas: 1
- type: "scaler"
-
This issue was reported by Robert and moved from Launchpad #2067476 https://bugs.launchpad.net/nebulous/+bug/2067476