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

[Bug] ArgoCD compatibility #187

Open
grzesuav opened this issue Sep 6, 2024 · 9 comments
Open

[Bug] ArgoCD compatibility #187

grzesuav opened this issue Sep 6, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@grzesuav
Copy link

grzesuav commented Sep 6, 2024

Current Behavior

As for now, when deploying with ArgoCD make the app desyncronized - see picture.
image

Expected Behavior

No sync differences

Steps To Reproduce

Just deploy cryostat via argocd

Environment

- OS: 
- Environment: 
- Version:

Anything else?

I suspect this is because of some helm random function used to generate one time password

@grzesuav grzesuav added the bug Something isn't working label Sep 6, 2024
@grzesuav
Copy link
Author

grzesuav commented Sep 6, 2024

Main problem is lookup helm function is not supported in argocd - https://github.com/cryostatio/cryostat-helm/blob/main/charts/cryostat/templates/_helpers.tpl#L104
argoproj/argo-cd#5202

would be nice to set this values manually (i.e.have possibility to define secret name in values, similar like https://github.com/cryostatio/cryostat-helm/blob/main/charts/cryostat/templates/db_secret.yaml#L1 is handled)

@grzesuav
Copy link
Author

grzesuav commented Sep 6, 2024

@andrewazores
Copy link
Member

I filed #188 above as a separate issue to track the feature of supplying all the auto-generated secret values manually - it's a good idea in general. If that ends up being everything required to fix ArgoCD compatibility then great, otherwise I leave this as a separate issue in case more is required after that work is done.

@andrewazores
Copy link
Member

Linking to a relevant comment from the discussion above: argoproj/argo-cd#5202 (comment)

This comment is describing exactly the same thing we do with the same motivation.

Other useful-looking links from that discussion:


On the other hand, from that same discussion, ArgoCD is trying to come up with a solution so that Helm charts like ours should be usable (ie let the lookup function work).

argoproj/argo-cd#5202 (comment)

argoproj/argo-cd#5202 (comment)

So there may be some solution on the Argo side as well, even if we don't get around to fully fixing this in our Helm chart first.

@andrewazores
Copy link
Member

@grzesuav could you try deploying #189 in ArgoCD and see if your sync issue is resolved? You will need to create the three secrets manually first and then supply the name of each one to the Helm chart when you install it.

@grzesuav
Copy link
Author

@andrewazores is the helm chart available somewhere so I can pick it up ?

Regarding argocd, the issue is been there for like 2/3 years so I do not expect it will land soon.

@andrewazores
Copy link
Member

No, the only place to test that change would be the PR itself - you'd have to clone the repository and install it manually.

@grzesuav
Copy link
Author

grzesuav commented Dec 2, 2024

just getting back to it, I see pr is merged, is it part of theofficial release ?

@andrewazores
Copy link
Member

It will be, the next time there is a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants