-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(deployment): move service account passwords to autogenerated secrets for production #1734
Conversation
ebc51f7
to
c623926
Compare
5c68462
to
2602063
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good for production (pathoplexus) but I would prefer if we don't do this on loculus as it makes pipeline testing much harder.
Spinning up a local full deployment isn't straightforward at the moment so testing against test deployments is very beneficial.
Rather than making it an E2E vs rest distinction we could make it a production vs development one, or are you worried the production is insufficiently tested as a result?
@corneliusroemer: the default |
Yes, IMO preview deployments should be as similar to the real thing as we can get them. If you want secondary test deployments through ArgoCD we could try to make those, but the intent of preview deployments is to preview how something will work in production. |
Is it possible to make it easy to get a hard coded argocd deployment by toggling a field in values.yaml, like we do with disable preprocessing etc? That would be fine, then I can't test again main anymore but make a quick test deployment. We still have superuser with fixed passwords in all preview deployments btw 😀 deploy.py isn't enough as local deployments aren't complete and also generally more cumbersome than argocd preview (lacking backend and website arm images) |
It can't really be a single field, but all you'd need to do would be to merge the |
|
I'm testing the suggested merge here: #1746 Unfortunately A boolean would be cool but I can see it's not so easy. Maybe just changing two lines in question might be easier than going full merge. |
All you should need is this: https://github.com/loculus-project/loculus/pull/1747/files |
Uses service account passwords from autogenerated secrets. Adds special E2E configuration to allow the pipeline password to be hardcoded, as we need to pretend to be the pipeline from the E2E test and the E2E tester doesn't have access to the autogenerated sequences.
https://move-to-secrets.loculus.org/ebola-zaire/search