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

[argo-events] - CRDS are not up to date #2337

Closed
ArieLevs opened this issue Nov 8, 2023 · 9 comments
Closed

[argo-events] - CRDS are not up to date #2337

ArieLevs opened this issue Nov 8, 2023 · 9 comments
Labels
argo-events awaiting-upstream Is waiting for a change upstream to be completed before it can be merged. bug Something isn't working no-issue-activity question

Comments

@ArieLevs
Copy link

ArieLevs commented Nov 8, 2023

Describe the bug

argo events helm chart version is not aligned with the CRDs,

for example chart version 2.4.1 has crds with version 1.7.0 https://github.com/argoproj/argo-helm/tree/argo-events-2.4.1/charts/argo-events/templates/crds
while should be 1.8.1 https://github.com/argoproj/argo-helm/blob/argo-events-2.4.1/charts/argo-events/Chart.yaml#L2

is there a "real" source of troth for the CRDs we can install them from?
the above issue raised since there is no jetstreamExotic definition anywhere, but its already part of the documentation.

Related helm chart

argo-events

Helm chart version

2.4.1

To Reproduce

install argo events chart version 2.4.1, app verion 1.8.1, the jetstreamExotic key is missing

Expected behavior

documentation / helm app version should match crds version

Screenshots

No response

Additional context

No response

@ArieLevs ArieLevs added the bug Something isn't working label Nov 8, 2023
@yu-croco
Copy link
Collaborator

yu-croco commented Nov 8, 2023

is there a "real" source of troth for the CRDs we can install them from?

We follow upstreams' CRD. In Argo Event's case, we follow below.
https://github.com/argoproj/argo-events/tree/v1.8.1/manifests/base/crds

It looks CRD is not changed for a few years in upstream... 🤔
image

@yu-croco
Copy link
Collaborator

yu-croco commented Nov 8, 2023

@ArieLevs

the above issue raised since there is no jetstreamExotic definition anywhere, but its already part of the documentation.

Do you get any errors when you deploy the resources in k8s ?

Upstream's CRD defines just spec as type object (argo-helm as well), so I wonder it will work well without the jetstreamExotic definition in CRD. 🤔

@ArieLevs
Copy link
Author

ArieLevs commented Nov 8, 2023

@yu-croco yes, error returned:

admission webhook "webhook.argo-events.argoproj.io" denied the request: invalid spec: either "nats", "jetstream", or "kafka" needs to be specified

I'm using the manifest from this example

@yu-croco
Copy link
Collaborator

yu-croco commented Nov 8, 2023

@ArieLevs
Thank you for the info.
Since we are following the upsteam's CRD, so I wonder it's better to ask in upsteam... 🤔

@pdrastil @jmeridth @tico24
Do you have any ideas about this...? 🤔

@jmeridth jmeridth added the awaiting-upstream Is waiting for a change upstream to be completed before it can be merged. label Nov 8, 2023
@jmeridth
Copy link
Member

jmeridth commented Nov 8, 2023

@ArieLevs This feature was added to the code 2 weeks ago with argoproj/argo-events#2878. Release 1.8.1 was released before that. The docs are showing features available to master. You can see this by the ValidateEventBus.go that has jetstreamExotic now here.

Once argo-events does a new release, we will also release a new chart.

You may want to ping the argo-events folks in CNCF slack #argo-events about when a new release is expected. Cheers.

@jmeridth
Copy link
Member

jmeridth commented Nov 8, 2023

I have filed an upstream issue in argo-workflows for showing/allowing selections of versioned docs here. We need to do the same with argo-events.

@ArieLevs
Copy link
Author

ArieLevs commented Nov 8, 2023

great! thanks a lot @yu-croco and @jmeridth 🚀

Copy link

github-actions bot commented Jan 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@yu-croco
Copy link
Collaborator

yu-croco commented Jan 9, 2024

Hi @ArieLevs ,
This PR ( #2417 ) will resolve this issue. 🚀
jetstreamExotic is added In appVersion v1.9.0 ( argoproj/argo-events@v1.8.1...v1.9.0 ).

@yu-croco yu-croco closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argo-events awaiting-upstream Is waiting for a change upstream to be completed before it can be merged. bug Something isn't working no-issue-activity question
Projects
None yet
Development

No branches or pull requests

3 participants