Should be able to expose default values with which app gets deployed in `acorn edit` editor.
sangee2004 opened this issue · comments
acorn version - v0.9.2-28-ga822ff9d+a822ff9d
Steps to reproduce the problem:
- Have a cluster level default compute class
- Deploy app with following Acornfile without passing any values to "--region" and "compute-class"
args: {
newtext: "hello"
number: 1
decimal: 1.1
}
containers: {
mywebnew: {
name: "testweb1"
image: "nginx"
scale: 1
ports: publish: "80/http"
files: {
"/usr/share/nginx/html/index.html": args.newtext
"/usr/share/nginx/html/test.html": "modified"
"/usr/share/nginx/html/test1.html": "\(args.decimal)"
}
memory: 256Mi
}
}
acorn edit <app-name>
presents only image info in the editor
image: "bd8c72f919a741cec4163b8aefcfd37e2e382381aac657937e6067f7eb3bcf8c"
Expected Behavior:
- We should be able to present details relating to default "region" and "compute-class" that was picked for app deployment.
- We should also be able to present details relating to default
args
with which app was deployed.