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

Add more settings to the settings endpoint. #2219

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

jctanner
Copy link
Collaborator

@jctanner jctanner commented Aug 12, 2024

{
  "GALAXY_ENABLE_UNAUTHENTICATED_COLLECTION_ACCESS": false,
  "GALAXY_ENABLE_UNAUTHENTICATED_COLLECTION_DOWNLOAD": false,
  "GALAXY_FEATURE_FLAGS": {
    "legacy_roles": false,
    "external_authentication": true,
    "display_repositories": true,
    "execution_environments": true,
    "ai_deny_index": false,
    "dab_resource_registry": true
  },
  "GALAXY_TOKEN_EXPIRATION": null,
  "GALAXY_REQUIRE_CONTENT_APPROVAL": true,
  "GALAXY_COLLECTION_SIGNING_SERVICE": "ansible-default",
  "GALAXY_AUTO_SIGN_COLLECTIONS": true,
  "GALAXY_SIGNATURE_UPLOAD_ENABLED": false,
  "GALAXY_REQUIRE_SIGNATURE_FOR_APPROVAL": false,
  "GALAXY_MINIMUM_PASSWORD_LENGTH": null,
  "GALAXY_AUTH_LDAP_ENABLED": null,
  "GALAXY_CONTAINER_SIGNING_SERVICE": "container-default",
  "GALAXY_LDAP_MIRROR_ONLY_EXISTING_GROUPS": false,
  "GALAXY_LDAP_DISABLE_REFERRALS": null,
  "KEYCLOAK_URL": null,
  "ANSIBLE_BASE_JWT_VALIDATE_CERT": false,
  "ANSIBLE_BASE_JWT_KEY": "http://jwtproxy:8080",
  "ALLOW_LOCAL_RESOURCE_MANAGEMENT": false,
  "ANSIBLE_BASE_ROLES_REQUIRE_VIEW": false,
  "DYNACONF_AFTER_GET_HOOKS": [
    "read_settings_from_cache_or_db",
    "alter_hostname_settings"
  ],
  "ANSIBLE_API_HOSTNAME": "http://jwtproxy:8080",
  "ANSIBLE_CONTENT_HOSTNAME": "http://jwtproxy:8080",
  "CONTENT_ORIGIN": "http://jwtproxy:8080",
  "TOKEN_SERVER": "http://jwtproxy:8080/token/",
  "TOKEN_AUTH_DISABLED": false
}

We regularly come across these settings when debugging install issues.

No-Issue

Signed-off-by: James Tanner <[email protected]>
@github-actions github-actions bot added backport-4.2 This PR should be backported to stable-4.2 (1.2) backport-4.4 This PR should be backported to stable-4.4 (2.1) backport-4.5 This PR should be backported to stable-4.5 (2.2) backport-4.6 This PR should be backported to stable-4.6 (2.3) backport-4.7 This PR should be backported to stable-4.7 (2.4) backport-4.8 This PR should be backported to stable-4.8 (2.4) backport-4.9 This PR should be backported to stable-4.9 (2.4) labels Aug 12, 2024
@jctanner jctanner removed backport-4.2 This PR should be backported to stable-4.2 (1.2) backport-4.4 This PR should be backported to stable-4.4 (2.1) backport-4.5 This PR should be backported to stable-4.5 (2.2) backport-4.6 This PR should be backported to stable-4.6 (2.3) backport-4.7 This PR should be backported to stable-4.7 (2.4) backport-4.8 This PR should be backported to stable-4.8 (2.4) backport-4.9 This PR should be backported to stable-4.9 (2.4) labels Aug 12, 2024
@jctanner jctanner requested a review from rochacbruno August 12, 2024 14:08
No-Issue

Signed-off-by: James Tanner <[email protected]>
Comment on lines +45 to +46
data["DYNACONF_AFTER_GET_HOOKS"] = \
[str(func) for func in settings_dict["DYNACONF_AFTER_GET_HOOKS"]]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data["DYNACONF_AFTER_GET_HOOKS"] = \
[str(func) for func in settings_dict["DYNACONF_AFTER_GET_HOOKS"]]
data["DYNACONF_AFTER_GET_HOOKS"] = [
str(func) for func in settings_dict["DYNACONF_AFTER_GET_HOOKS"]
]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave this for another time. I'm in a bit of a hurry to get it merged.

@jctanner jctanner merged commit 450a492 into ansible:master Aug 12, 2024
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants