Skip to content

[BUG] rename deployed app generating a bug #2211

Open
@erickythierry

Description

I don't know if it's really a bug but I thought it would be interesting to share here about this situation I faced now:

I created an app and deployed my own code.
After that, I renamed the app to another name
continued to function normally.

I created a second app with the old name of the first app
It worked, but I had to set the number of replicas of the two apps to zero

The bug occurred when I set the number of replicas of the first app back to 1.

So the first app started a container identical to the second app.

I believe it is something related to the name of the images that follow the same name as the app when created and when renaming the app the image remains with the old name.

And as I ended up creating a second app with the same old name as the first, I ended up mixing the images.

I don't know if it's possible to rename the image name along with the new app name, but it would be interesting.

More details about my installation of Caprover

I'm using Self Host Registry and 2 servers in Swarm.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions