dapr-apim-integration sample: event-subscriber missing dapr.io/app-id annotation
Open
- Dominant language
- Shell
- Stars
- 443
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
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:
```yaml
# dapr.io/id: "event-subscriber"
dapr.io/app-id: "event-subscriber"
```
My environment:
* Dapr 1.5.1
* Kubernetes: v1.21.2
Contributor guide
Assessment
This issue has not been assessed yet.