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

Compose files are missing "pid: host" param for agent #56

Open
zeldigas opened this issue Feb 5, 2021 · 0 comments
Open

Compose files are missing "pid: host" param for agent #56

zeldigas opened this issue Feb 5, 2021 · 0 comments

Comments

@zeldigas
Copy link

zeldigas commented Feb 5, 2021

While current example works, they are pretty simple. While trying to try more proper use case - agent is in it's own container and workload in it's dedicated one with docker selector, I spent a lot of time figuring one why I got error

could not resolve caller information

After some trial, error and googling around I found similar thing about k8s and indeed putting mentioned param did the trick

  spire-agent:
    image: gcr.io/spiffe-io/spire-agent:0.12.0
    depends_on: ["spire-server"]
    hostname: spire-agent
    pid: host

Not sure if it should go to this repo or spire itself, but just FYI

UPD: After additional check, I see that "nested" example contains this flag. The problem is that it's easy to skip in docs (at least while reading about it, I did not find it, maybe worth putting admonition to docker attestor page) and in other examples it's missing (e.g. in telemetry)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant