promptOrder is not respected for secrets with credential type
sangee2004 opened this issue · comments
Sangeetha Hariharan commented
acorn version - v0.10.0-rc1-7-g8b9acb47+8b9acb47
Steps to reproduce the problem:
- Deploy app that has secrets with
promptOrder
secrets: config: {
type: "credential.acorn.io/mytest"
params: {
promptOrder: ["proto", "address", "port", "adminUsername", "adminPassword", "username", "password"]
}
data: {
address: ""
port: ""
username: ""
password: ""
adminUsername: ""
adminPassword: ""
proto: ""
dbName: ""
}
}
- Following is the order in which I am prompted to enter data which is not respecting the
promptOrder
specified for the secrets:
mytestapp
STATUS: ENDPOINTS[] HEALTHY[] UPTODATE[]
? address **
? adminPassword ***
? adminUsername ***
? dbName ***
? password ***
? port ***
? proto **
? username ***
Expected Behavior:
Order in which user is prompted should be the same as the promptOrder
specified for the secrets.
Bill Maxwell commented
Prompt order is now available on Main.
Sangeetha Hariharan commented
Tested with - acorn version - v0.10.1-rc1-8-gce008aeb+ce008aeb
User is promoted as per the prompt order for credential creation.