Conversation
Contributor
Author
Contributor
Author
|
@rooftopcellist @Denney-tech |
kurokobo
marked this pull request as ready for review
May 24, 2024 14:56
Contributor
Author
|
@rooftopcellist @Denney-tech |
Denney-tech
approved these changes
May 24, 2024
kurokobo
commented
May 26, 2024
Contributor
Author
|
Updated, ready for review again😃 |
Member
|
o/ @kurokobo @Denney-tech Thank you for the PR and for testing it. This is a great addition! Sorry for the delay here, it has been a busy couple weeks.. I have this on my list to review. CI has been triggered. |
|
LGTM |
|
|
Any chance we can see this get merged soon? Not sure if it's too stale to merge as-is, but I am disappointed it's been sitting here so long. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





SUMMARY
This PR implements
extra_settings_files, which is almost the same as my PR for AWX Operator ansible/awx-operator#1836Required module (
split_settings) to load additional*.pyfiles is already installed in galaxy images: https://github.com/ansible/galaxy_ng/blob/c52e9b4e5548ca38946d7cc1bd8624459def1ec1/requirements/requirements.common.txt#L127-L128Design:
*.pyfiles from ConfigMaps or Secrets*.pyfiles under/etc/pulp/conf.din following pods which already havesettngs.pyRestrictions:
Completely the same as described in ansible/awx-operator#1836
ADDITIONAL INFORMATION
Tested with and without
extra_settings_files:Without
extra_settings_filesEnsure there is no
/etc/pulp/conf.d$ kubectl -n galaxy exec -it deployment/galaxy-api -- ls -l /etc/pulp total 4 drwxrwxr-x. 2 galaxy root 6 May 1 13:01 certs drwxrwxr-x. 1 galaxy root 118 May 24 12:53 keys -rw-r--r--. 1 root root 1531 May 24 12:52 settings.pyEven if there is no actual directory and files,
include()does not cause error sinceoptional()is used to load files.With
extra_settings_filesResult:
I can confirm that additional settings in
*.pytake effects, e.g. browsing existing collections without logging in to the Galaxy byGALAXY_ENABLE_UNAUTHENTICATED_COLLECTION_ACCESS = True.