Skip to content

kp secret create --service-account creates secret if service account is missing #331

Description

@fcaroline2020

When creating a secret with a service account that does not exist, receive an error but secret is still created.

$ kp secret create secretname --dockerhub username --service-account test
Error: serviceaccounts "test" not found
$ kubectl get secrets
somesecret                     tutorial-cosign-key-pair       tutorial-registry-credentials

AC:

  • secret creation should fail if the service account is not available

Metadata

Metadata

Assignees

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