Skip to content

2.0.1 docker-entrypoint.sh broken #31970

@Nordle

Description

@Nordle

When running the vault image as a sidecar in kubernetes the following error is being logged:

/usr/local/bin/docker-entrypoint.sh: exec: line 116: agent: not found

Reverting back to 2.0.0 fixes this issue (we were previously using latest and experienced a restart today which pulled down 2.0.1)

Current sidecar config (before fixing the version)

extraContainers:
  - name: vault-agent
    image: hashicorp/vault:latest
    args:
      - agent
      - -config=/vault/config/agent.hcl
    securityContext:
      runAsUser: 100
      runAsGroup: 1000
      runAsNonRoot: true
      allowPrivilegeEscalation: false
      capabilities:
        drop:
          - ALL

Expected behavior
Sidecar starts without issues

Vault server configuration file(s):

# Paste your Vault config here.
# Be sure to scrub any sensitive values

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentdockerk8sregressionUsed to indicate possible regressions between versions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions