A.8. 平台网关变量


RPM 变量名称容器变量名称描述必需或可选default

automationgateway_admin_email

gateway_admin_email

Django 用于平台网关的 admin 用户的电子邮件地址。

选填

admin@example.com

automationgateway_admin_password

gateway_admin_password

平台网关管理员密码。对此变量使用特殊字符有限。密码可以包含任何可打印的 ASCII 字符,但 /"@ 除外。

必填

 

automationgateway_admin_username

gateway_admin_user

用于在平台网关中识别和创建管理员用户的用户名。

选填

admin

automationgateway_cache_cert

gateway_redis_tls_cert

平台网关 Redis 证书文件的路径。

选填

 

automationgateway_cache_key

gateway_redis_tls_key

平台网关 Redis 密钥文件的路径。

选填

 

automationgateway_cache_tls_files_remote

 

表示缓存客户端证书文件是否为安装程序的本地(false),还是在远程组件服务器(true)上。

选填

automationgateway_tls_files_remote 中定义的值,默认值为 false

automationgateway_client_regen_cert

 

控制是否为平台缓存重新生成平台网关客户端证书。设置为 true 以重新生成平台网关客户端证书。

选填

false

automationgateway_control_plane_port

gateway_control_plane_port

平台网关 control plane 的端口号。

选填

50051

automationgateway_disable_hsts

gateway_nginx_disable_hsts

控制是否为平台网关启用或禁用 HTTP Strict Transport Security (HSTS)。将此变量设置为 true 以禁用 HSTS。

选填

false

automationgateway_disable_https

gateway_nginx_disable_https

控制是否为平台网关启用或禁用 HTTPS。将此变量设置为 true 以禁用 HTTPS。

选填

rpm = disable_https 中定义的值,默认值为 false。container = false

automationgateway_firewalld_zone

gateway_proxy_firewall_zone

应用平台网关相关防火墙规则的防火墙区域。这会根据区域的信任级别控制哪些网络可以访问平台网关。

选填

rpm = 无默认设置.容器 = 'public'。

automationgateway_grpc_auth_service_timeout

gateway_grpc_auth_service_timeout

在平台网关上向 gRPC 服务发出的请求超时持续时间(以秒为单位)。

选填

30s

automationgateway_grpc_server_max_threads_per_process

gateway_grpc_server_max_threads_per_process

每个 gRPC 服务器进程可以创建的最大线程数来处理平台网关上的请求。

选填

10

automationgateway_grpc_server_processes

gateway_grpc_server_processes

在平台网关上处理 gRPC 请求的进程数。

选填

5

automationgateway_http_port

gateway_nginx_http_port

平台网关侦听 HTTP 请求的端口号。

选填

RPM = 8080.容器 = 8083.

automationgateway_https_port

gateway_nginx_https_port

平台网关侦听 HTTPS 请求的端口号。

选填

RPM = 8443.容器 = 8446

automationgateway_main_url

gateway_main_url

客户端连接到的平台网关的主要实例的 URL。如果您执行集群部署,并且您需要使用负载均衡器的 URL 而不是组件的服务器,则使用。URL 必须以 http://https:// 前缀开头。

选填

 

automationgateway_nginx_tls_files_remote

 

表示 Web 证书源是否为安装程序本地的(false),还是在远程组件服务器(true)上。

选填

automationgateway_tls_files_remote 中定义的值,默认值为 false

automationgateway_pg_cert_auth

gateway_pg_cert_auth

控制是否在平台网关 PostgreSQL 数据库中启用或禁用客户端证书身份验证。将此变量设置为 true 以启用客户端证书身份验证。

选填

false

automationgateway_pg_database

gateway_pg_database

平台网关使用的 PostgreSQL 数据库的名称。

选填

rpm = 自动化gateway.容器 = 网关.

automationgateway_pg_host

gateway_pg_host

平台网关使用的 PostgreSQL 数据库的主机名。

必填

 

automationgateway_pg_password

gateway_pg_password

平台网关 PostgreSQL 数据库用户的密码。对此变量使用特殊字符有限。支持 !, #, 0@ 字符。使用其他特殊字符可能会导致设置失败。

选填

 

automationgateway_pg_port

gateway_pg_port

平台网关使用的 PostgreSQL 数据库的端口号。

选填

5432

automationgateway_pg_sslmode

gateway_pg_sslmode

控制平台网关连接到 PostgreSQL 数据库时要使用的 SSL 模式。有效选项包括 verify-full,verify-ca, requires, prefer,allow,disable

选填

prefer

automationgateway_pg_username

gateway_pg_username

平台网关 PostgreSQL 数据库用户的用户名。

选填

rpm = 自动化gateway.container = gateway

automationgateway_pgclient_sslcert

gateway_pg_tls_cert

平台网关的 PostgreSQL SSL/TLS 证书文件的路径。

使用客户端证书身份验证时需要。

 

automationgateway_pgclient_sslkey

gateway_pg_tls_key

平台网关的 PostgreSQL SSL/TLS 密钥文件的路径。

使用客户端证书身份验证时需要。

 

automationgateway_pgclient_tls_files_remote

 

表示 PostgreSQL 客户端证书源是否为安装程序本地的(false)还是远程组件服务器(true)。

选填

automationgateway_tls_files_remote 中定义的值,默认值为 false

automationgateway_redis_host

gateway_redis_host

平台网关使用的 Redis 主机的主机名。

选填

[automationgateway] 清单组中的第一个节点。

automationgateway_redis_password

gateway_redis_password

平台网关 Redis 的密码。

选填

随机生成的字符串。

automationgateway_redis_username

gateway_redis_username

平台网关 Redis 的用户名。

选填

gateway

automationgateway_secret_key

gateway_secret_key

平台网关用来签名和加密数据的 secret 密钥值。

选填

 

automationgateway_ssl_cert

gateway_tls_cert

平台网关的 SSL/TLS 证书文件的路径。

选填

 

automationgateway_ssl_key

gateway_tls_key

平台网关的 SSL/TLS 密钥文件的路径。

选填

 

automationgateway_tls_files_remote

gateway_tls_remote

表示平台网关提供的证书文件是否为安装程序本地的(false)还是远程组件服务器(true)。

选填

false

automationgateway_use_archive_compression

gateway_use_archive_compression

控制是否为平台网关启用或禁用存档压缩。您可以使用 use_archive_compression 在全局范围内控制此功能。

选填

true

automationgateway_use_db_compression

gateway_use_db_compression

控制是否为平台网关启用或禁用数据库压缩。您可以使用 use_db_compression 在全局范围内控制此功能。

选填

true

automationgateway_user_headers

gateway_nginx_user_headers

要添加到平台网关 NGINX 配置中的额外 NGINX 标头列表。

选填

[]

automationgateway_verify_ssl

 

表示在安装过程中从平台网关调用到其自身时是否验证平台网关的 Web 证书。设置为 false 以禁用 Web 证书验证。

选填

true

automationgatewayproxy_disable_https

envoy_disable_https

控制在访问平台 UI 时是否禁用 HTTPS。设置为 true 以禁用 HTTPS (使用 HTTP)。

选填

rpm = disable_https 中定义的值,默认值为 false。container = false

automationgatewayproxy_http_port

envoy_http_port

Envoy 代理在其上侦听传入 HTTP 连接的端口号。

选填

80

automationgatewayproxy_https_port

envoy_https_port

Envoy 代理在其上侦听传入 HTTPS 连接的端口号。

选填

443

nginx_tls_protocols

gateway_nginx_https_protocols

在处理 HTTPS 流量时,平台网关将支持协议。

选填

RPM = [TLSv1.2].container = [TLSv1.2, TLSv1.3].

redis_disable_tls

gateway_redis_disable_tls

控制是否为平台网关 Redis 启用或禁用 TLS。将此变量设置为 true 以禁用 TLS。

选填

false

redis_port

gateway_redis_port

平台网关的 Redis 主机的端口号。

选填

6379

 

gateway_extra_settings

定义在安装过程中平台网关使用的其他设置。

例如:

gateway_extra_settings:
  - setting: OAUTH2_PROVIDER['ACCESS_TOKEN_EXPIRE_SECONDS']
    value: 600
Copy to Clipboard

选填

[]

 

gateway_nginx_client_max_body_size

通过 NGINX 发送到平台网关的数据允许的最大大小。

选填

5m

 

gateway_nginx_hsts_max_age

为平台网关强制执行 HTTP Strict Transport Security (HSTS)的最大持续时间(以秒为单位)。

选填

63072000

 

gateway_uwsgi_listen_queue_size

平台网关的队列中允许的请求数量,直到 uwsgi _processes 可以服务它们。

选填

4096

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat