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.

Trying to create a secret with a name that already exists does not error out. #2408

@sangee2004

Description

@sangee2004

acorn version - v0.10.0-rc2-9-g43dbcbf4+43dbcbf4
Steps to reproduce the problem:

  1. Create a secret say mytest1
  2. Create another secret with same name - mytest1
    There is no change made to the existing secret as expected . But this command does not error out stating that secret already exists.
%acorn secret create mytest1 --data test1=value1                 
mytest1
 % acorn secret create mytest1 --data test2=value2
mytest1
 % acorn secret reveal mytest1                    
NAME      TYPE      KEY       VALUE
mytest1   opaque    test1     value1

Expected Behavior:
Create secret command should error out in this case stating that secret already exists.

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions