Panic(nil) when the TLS certificate in Secret is the default one #626
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Describe the bug
The instructions in the README do not work since 1.13 : https://github.com/knative-extensions/eventing-redis/tree/main/config/source
And the modifications in code does not allow to start the redis source stream without a TLS certificate for Redis.
An error log in redis stream source pod:
Expected behavior
Without TLS certificate for Redis in the secret it should run properly
To Reproduce
Follow the README here: https://github.com/knative-extensions/eventing-redis/tree/main/config/source
Knative release version
1.15.0
Additional context
The tls-secret.yaml file contains a default certificate: https://github.com/knative-extensions/eventing-redis/blob/main/config/source/tls-secret.yaml
If we replace the tls_cert value by
""
like:it fails in
pkg/source/reconciler/streamsource/streamsource.go:136
The text was updated successfully, but these errors were encountered: