Describe the bug
A clear and concise description of what the bug is.
We'd like to lock down Argo Events EventBus to just allow clients to use jetstream but the ValidateConfig method enforces at least one version of each here.
To Reproduce
Steps to reproduce the behavior:
Update the argo-events-controller-configConfigMap to remove the eventBus.nats.versions array.
Redeploy the controller-manager, keep some items in the eventBus.jetstream.versions array.
See error no stan versions were provided in the controller config in the controller-manager pod logs.
Expected behavior
A clear and concise description of what you expected to happen.
No error, should be possible to not give the option to run nats as the EventBus.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Kubernetes: v1.24 (whatever the latest EKS version is 😅)
Argo Events: v1.8.0
Additional context
Add any other context about the problem here.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
Describe the bug A clear and concise description of what the bug is.
We'd like to lock down Argo Events
EventBus
to just allow clients to usejetstream
but theValidateConfig
method enforces at least one version of each here.To Reproduce Steps to reproduce the behavior:
argo-events-controller-config
ConfigMap
to remove theeventBus.nats.versions
array.controller-manager
, keep some items in theeventBus.jetstream.versions
array.no stan versions were provided in the controller config
in thecontroller-manager
pod logs.Expected behavior A clear and concise description of what you expected to happen.
No error, should be possible to not give the option to run
nats
as theEventBus
.Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.