Skip to content
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
@sangee2004

Description

@sangee2004

Steps to reproduce the problem:

  1. Deploy mongodb-atlas service (along with consuming app) - acorn run -n myaltas .
  2. 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
  1. 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.

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions