runtime
runtime copied to clipboard
Give me more details on the secrets needed in an acorn
As a user of an acorn, I want to know what secrets I need to create and with what keys.
acorn run image --help gives some details:
acorn run ccc --help
Volumes: <none>
Secrets: root-credentials, db-user-credentials, aws-creds
I'd like to do be able to have the cli tell me the types and fields, so that if i have to create my own secrets to bind over, i have a better idea of what i'm doing.
Per @ibuildthecloud
also as a convention if you use an opaque secret you should put keys so that the user knows what keys are expected
secrets: {
"aws-creds": {
type: "opaque"
data: {
AWS_KEY: ""
AWS_THING: ""
}
}
}
and comment them so that that can be listed too