Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Should be able to expose default values with which app gets deployed in acorn edit editor. #2357

Open
sangee2004 opened this issue Nov 22, 2023 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@sangee2004
Copy link
Contributor

sangee2004 commented Nov 22, 2023

acorn version - v0.9.2-28-ga822ff9d+a822ff9d

Steps to reproduce the problem:

  1. Have a cluster level default compute class
  2. 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
	}
}
  1. acorn edit <app-name> presents only image info in the editor
    image: "bd8c72f919a741cec4163b8aefcfd37e2e382381aac657937e6067f7eb3bcf8c"

Expected Behavior:

  1. We should be able to present details relating to default "region" and "compute-class" that was picked for app deployment.
  2. We should also be able to present details relating to default args with which app was deployed.
@sangee2004 sangee2004 added kind/enhancement New feature or request help wanted Extra attention is needed labels Nov 22, 2023
@sangee2004 sangee2004 added this to the Backlog milestone Nov 22, 2023
@cjellick cjellick removed the help wanted Extra attention is needed label Dec 11, 2023
@sangee2004 sangee2004 added kind/bug Something isn't working and removed kind/enhancement New feature or request labels Jan 15, 2024
@sangee2004 sangee2004 changed the title Should be able to provide default values for all run flags and args with which the app was deployed in edit mode. Should be able to expose attributes with which containers get deployed ( including deployment args) on acorn edit Jan 15, 2024
@sangee2004 sangee2004 changed the title Should be able to expose attributes with which containers get deployed ( including deployment args) on acorn edit Should be able to expose default values with which app gets deployed in acorn edit editor. Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants