Skip to content

Secrets injector unable to inject secret if the deployment does not contain command #52

@romosa

Description

@romosa

Your environment

Secret Injector Version: 1.0.2

1Password CLI Version:

Connect Server Version: 1.7.2

Kubernetes Version: 1.28

What happened?

When deploying an app without the command (only relies in the docker image), it will throw out an error
Error occurred mutating container for secret injection: not attaching OP to the container app: the podspec does not define a command

What did you expect to happen?

Deploy without any issue

Steps to reproduce

Deploy a deployment without command

          command: ["npm"]

Notes & Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected. Has never worked before. When it has, use "regression" instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions