From 804e6c3de7d1f0b771c6184a34473e0b618033a0 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira de Mello Date: Mon, 14 Jun 2021 13:35:08 -0400 Subject: [PATCH] Documenting extra_settings usage --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index a13bfb5a..da4afde2 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ An [Ansible AWX](https://github.com/ansible/awx) operator for Kubernetes built w * [Persisting Projects Directory](#persisting-projects-directory) * [Custom Volume and Volume Mount Options](#custom-volume-and-volume-mount-options) * [Exporting Environment Variables to Containers](#exporting-environment-variables-to-containers) + * [Extra Settings](#extra-settings) * [Service Account](#service-account) * [Upgrading](#upgrading) * [Contributing](#contributing) @@ -654,6 +655,26 @@ Example configuration of environment variables value: foo ``` +#### Extra Settings + +With`extra_settings`, you can pass multiple custom settings via the `awx-operator`. The parameter `extra_settings` will be appended to the `/etc/tower/settings.py` and be can an alternative to the `extra_volumes` parameter. + +| Name | Description | Default | +| ----------------------------- | -------------------------------------------------------- | ------- | +| extra_settings | Extra settings | '' | + +Example configuration of `extra_settings` parameter + +```yaml + spec: + extra_settings: + - setting: MAX_PAGE_SIZE + value: "500" + + - setting: AUTH_LDAP_BIND_DN + value: "cn=admin,dc=example,dc=com" +``` + #### Service Account If you need to modify some `ServiceAccount` proprieties