Skip to content

Commit

Permalink
Add receptor_log_level (#1444)
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterseth authored Jul 10, 2023
1 parent cfb5048 commit 822b3a4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/crd/bases/awx.ansible.com_awxs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,9 @@ spec:
session_cookie_secure:
description: Set session cookie secure mode for web
type: string
receptor_log_level:
description: Set log level of receptor service
type: string
extra_settings:
description: Extra settings to specify for the API
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,11 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:hidden
- displayName: Receptor Log Level
path: receptor_log_level
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:hidden
- displayName: API Extra Settings
path: extra_settings
x-descriptors:
Expand Down
2 changes: 2 additions & 0 deletions roles/installer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,3 +447,5 @@ ipv6_disabled: false
# hostnames:
# - hostname
host_aliases: ''

receptor_log_level: info
5 changes: 4 additions & 1 deletion roles/installer/templates/configmaps/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ data:
BROADCAST_WEBSOCKET_PROTOCOL = 'http'


RECEPTOR_LOG_LEVEL = '{{ receptor_log_level }}'


{% for item in extra_settings | default([]) %}
{{ item.setting }} = {{ item.value }}
{% endfor %}
Expand Down Expand Up @@ -236,7 +239,7 @@ data:
bind 127.0.0.1
receptor_conf: |
---
- log-level: info
- log-level: {{ receptor_log_level }}
- local-only: null
- node:
firewallrules:
Expand Down

0 comments on commit 822b3a4

Please sign in to comment.