Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman secret create --replace=true unexpectedly fails to create secret when replacement isn't needed #22000

Closed
cgigun opened this issue Mar 8, 2024 · 1 comment · Fixed by containers/common#1909
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@cgigun
Copy link

cgigun commented Mar 8, 2024

Feature request description

I expected podman secret create --replace=true to create a secret, even if that requires replacing the existing one.

Instead the current behavior is to refuse to create a secret unless a pre-existing secret with the same name is found.

Suggest potential solution

I'd like --replace=true to allow replacement, not require it

Have you considered any alternatives?

The alternative I'm using is to not use the --replace flag at all. My script for updating my passwords has to manually remove every secret and then create them again.

Additional context

Add any other context or screenshots about the feature request here.

@cgigun cgigun added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 8, 2024
@Luap99
Copy link
Member

Luap99 commented Mar 11, 2024

Duplicate of #21952

@Luap99 Luap99 marked this as a duplicate of #21952 Mar 11, 2024
@Luap99 Luap99 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
rhatdan added a commit to rhatdan/common that referenced this issue Mar 14, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/common that referenced this issue Mar 14, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/common that referenced this issue Mar 15, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/common that referenced this issue Mar 18, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/common that referenced this issue Apr 12, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/common that referenced this issue Apr 20, 2024
Consolidate all errors between the different secret drivers.

Fixes: containers/podman#22000
Fixes: containers/podman#21952

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jul 20, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jul 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants