-
Notifications
You must be signed in to change notification settings - Fork 19
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
Run migrations in initContainer and use galaxy-ng image #17
Conversation
a9cc5e9
to
26aa232
Compare
As far I can see, we're still using the pulp images in the code [1]. Am I missing something ? I think changing the container images from pulp to galaxy will require more work. This will at least remove feature like configuring the admin password and the collection/container signing feature (because those aren't currently handled in the pulp-api entrypoint) [2] But we'll also need to update or add other configuration like [1] https://github.com/ansible/galaxy-operator/blob/main/playbooks/pulp.yml#L31-L34 |
@dsavineau Correct on all points! I meant to make this a draft PR, @aknochow and I are iterating on this to make all of the changes needed to use the galaxy-ng and galaxy-ui images. I just added a commit to switch all of the default references and doc examples to the new images. Thanks for calling out the admin password creation and signing scripts. I'll look at those. I am hoping to use the galaxy-ng startup scripts where possible, then configmap in anything else that may be needed, but we'll see how that turns out in practice :) |
bfc7040
to
fbd2311
Compare
db100a7
to
288dd91
Compare
is there a reason to change the default api backend port from 1f4b9d3 |
90e1e01
to
8878a14
Compare
- Add settings and db fields encryption secret mounts Signed-off-by: Christian M. Adams <chadams@redhat.com>
- Add readyz.py scripts for the api, worker and content containers
- add ui and api paths to nginx configmap - updating default api_root for pulp
- Resolve this error: gpg: Fatal: can't create directory /app/.gnupg: No such file or directory
- without this, we see this error in the api pod: [Errno 2] No such file or directory: /var/lib/pulp/media
- the web service was waiting unnecessarily while the api was reachable Debug: add tempory sleep to debug worker initContainer
- without this we see errors when running gpg --import gpg: WARNING: unsafe ownership on homedir /var/lib/pulp/.gnupg gpg: failed to create temporary file /var/lib/pulp/.gnupg/.#lk0x0000562d20c3e270.galaxy-4632a12-worker-7fbb9b9cf9-t98wl.15: Permission denied
d44619a
to
edc14be
Compare
d5e6d0f
to
ccf1719
Compare
* Temporarily use galaxy-ng:add-galaxy-operator-support image * Explicitly set operator imagePullPolicy to IfNotPresent for CI
ccf1719
to
3ffa8c4
Compare
…/galaxy-operator into initcontainer-migrations
* The GHA runner needs execute permissions on this script. I think the prior mode change to 644 was a mistake.
Closing in favor of |
SUMMARY
Goals:
ADDITIONAL INFORMATION
Previously, when using galaxy-minimal and galaxy-web, we were using these container scripts. We could vendor these as needed and configmap them in... But ideally we use what the galaxy team uses where possible for consistency.
Here are what I think are the new configuration scripts used by the galaxy team's images: