Skip to content

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

Open
@clarenceb

Description

@clarenceb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions