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 1/3] 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 From dd70d0e4ec110e75e9b82e5fe3467c1424d14748 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira de Mello Date: Mon, 14 Jun 2021 16:27:42 -0400 Subject: [PATCH 2/3] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da4afde2..040737d2 100644 --- a/README.md +++ b/README.md @@ -657,7 +657,7 @@ Example configuration of environment variables #### 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. +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 can an alternative to the `extra_volumes` parameter. | Name | Description | Default | | ----------------------------- | -------------------------------------------------------- | ------- | From e22720dc8224a8844c8bb7859c6e5a81f3d875a4 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira de Mello Date: Mon, 14 Jun 2021 16:29:10 -0400 Subject: [PATCH 3/3] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 040737d2..db5488e2 100644 --- a/README.md +++ b/README.md @@ -657,7 +657,7 @@ Example configuration of environment variables #### 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 can an alternative to the `extra_volumes` parameter. +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 can be an alternative to the `extra_volumes` parameter. | Name | Description | Default | | ----------------------------- | -------------------------------------------------------- | ------- |