This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
Not given an option to recover the app when created with invalid creds . #11
Open
Description
Steps to reproduce the problem:
- Deploy mongodb-atlas service (along with consuming app) -
acorn run -n myaltas .
- When prompted for entering "Mongo Atlas credentials" , enter invalid creds.
App fails to deploy successfully.
NAME IMAGE COMMIT CREATED ENDPOINTS MESSAGE
myaltas.db f022f1a7529e aec31c70c9bf 5m38s ago (job: create-cluster): Error: Exit Code 1, 5 failed attempts; (service: atlas): pending
myaltas e5edf60f1b91 aec31c70c9bf 5m43s ago https://myaltas-9d7065b9.wcovwb.on-acorn.io (container: app): waiting for service to be created [db], waiting for service to be ready [db]; (service: db): acorn [myaltas.db] is not ready
- Try to update the app to see if we can correct the creds .
acorn run --update -n myaltas .
User is not prompted to enter the creds.
- Should we be deleting the invalid creds that has been created in this case ?
acorn secrets
NAME TYPE KEYS CREATED
atlas-creds-rm4b5 credential.cloud.mongodb.com/atlas [private_key project_id public_key] 7m58s ago