mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Extra Settings: Allow one to pass extra API configuration settings.
For more advanced usage, a user can do the extra_volumes/extra_volume_mounts dance. But for simple need adding this parameter make it easy to just specify an extra parameter.
This commit is contained in:
@@ -326,6 +326,16 @@ spec:
|
|||||||
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
||||||
default: ReadWriteMany
|
default: ReadWriteMany
|
||||||
type: string
|
type: string
|
||||||
|
extra_settings:
|
||||||
|
description: Extra settings to specify for the API
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
setting:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -328,6 +328,16 @@ spec:
|
|||||||
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
||||||
default: ReadWriteMany
|
default: ReadWriteMany
|
||||||
type: string
|
type: string
|
||||||
|
extra_settings:
|
||||||
|
description: Extra settings to specify for the API
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
setting:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -326,6 +326,16 @@ spec:
|
|||||||
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
description: AccessMode for the /var/lib/projects PersistentVolumeClaim
|
||||||
default: ReadWriteMany
|
default: ReadWriteMany
|
||||||
type: string
|
type: string
|
||||||
|
extra_settings:
|
||||||
|
description: Extra settings to specify for the API
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
setting:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -380,6 +380,11 @@ spec:
|
|||||||
x-descriptors:
|
x-descriptors:
|
||||||
- urn:alm:descriptor:com.tectonic.ui:advanced
|
- urn:alm:descriptor:com.tectonic.ui:advanced
|
||||||
- urn:alm:descriptor:com.tectonic.ui:hidden
|
- urn:alm:descriptor:com.tectonic.ui:hidden
|
||||||
|
- displayName: API Extra Settings
|
||||||
|
path: extra_settings
|
||||||
|
x-descriptors:
|
||||||
|
- urn:alm:descriptor:com.tectonic.ui:advanced
|
||||||
|
- urn:alm:descriptor:com.tectonic.ui:hidden
|
||||||
statusDescriptors:
|
statusDescriptors:
|
||||||
- description: Route to access the instance deployed
|
- description: Route to access the instance deployed
|
||||||
displayName: URL
|
displayName: URL
|
||||||
|
|||||||
@@ -328,6 +328,16 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
extra_settings:
|
||||||
|
description: Extra settings to specify for the API
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
setting:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -89,6 +89,10 @@ data:
|
|||||||
BROADCAST_WEBSOCKET_PORT = 8052
|
BROADCAST_WEBSOCKET_PORT = 8052
|
||||||
BROADCAST_WEBSOCKET_PROTOCOL = 'http'
|
BROADCAST_WEBSOCKET_PROTOCOL = 'http'
|
||||||
|
|
||||||
|
{% for item in extra_settings | default([]) %}
|
||||||
|
{{ item.setting }} = {{ item.value }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
nginx_conf: |
|
nginx_conf: |
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
pid /tmp/nginx.pid;
|
pid /tmp/nginx.pid;
|
||||||
|
|||||||
Reference in New Issue
Block a user