devtron icon indicating copy to clipboard operation
devtron copied to clipboard

bug(Deployment Chart): command.workingDir should be a string instead of a object

Open TGTGamer opened this issue 8 months ago • 0 comments

https://github.com/devtron-labs/devtron/blob/d6d76fbcd8aa9ed483c5a97c975cc34b6ac90f81/scripts/devtron-reference-helm-charts/deployment-chart_4-20-0/schema.json#L669-L674

should be:

 "workingDir": { 
   "type": "string", 
   "items": {}, 
   "description": "contains the working directory", 
   "title": "Working directory" 
 }

So that this works:

command:
  enabled: true
  value:
    - sh
    - startup.sh
  workingDir: /string/to/path

Current error: Incorrect type. Expected "Working directory".yaml-schema: Working directory(0)

TGTGamer avatar Mar 26 '25 12:03 TGTGamer