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

dapr-apim-integration sample: event-subscriber missing dapr.io/app-id annotation #87

Open
clarenceb opened this issue Dec 11, 2021 · 0 comments

Comments

@clarenceb
Copy link

clarenceb commented Dec 11, 2021

In file: https://github.com/dapr/samples/blob/master/dapr-apim-integration/k8s/event-subscriber.yaml

When I run: kubectl get pods

I see no pods for event-subscriber.

When I run kubctl get deploy event-subscriber -o yaml, I see an error under status:

message: 'admission webhook "sidecar-injector.dapr.io" denied the request: value
      for the dapr.io/app-id annotation is empty'

Updating and applying k8s/event-subscriber.yaml fixes this issue:

# dapr.io/id: "event-subscriber"
dapr.io/app-id: "event-subscriber"

My environment:

  • Dapr 1.5.1
  • Kubernetes: v1.21.2
@clarenceb clarenceb changed the title event-subscriber missing dapr.io/app-id annotation dapr-apim-integration sample: event-subscriber missing dapr.io/app-id annotation Dec 11, 2021
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