mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Allow isolated paths as hostPath volume @ k8s/ocp/container groups
This commit is contained in:
@@ -334,6 +334,19 @@ register(
|
||||
category_slug='jobs',
|
||||
)
|
||||
|
||||
register(
|
||||
'AWX_MOUNT_ISOLATED_PATHS_ON_K8S',
|
||||
field_class=fields.BooleanField,
|
||||
default=False,
|
||||
label=_('Expose host paths for Container Groups'),
|
||||
help_text=_(
|
||||
'Expose paths via hostPath for the Pods created by a Container Group. '
|
||||
'HostPath volumes present many security risks, and it is a best practice to avoid the use of HostPaths when possible. '
|
||||
),
|
||||
category=_('Jobs'),
|
||||
category_slug='jobs',
|
||||
)
|
||||
|
||||
register(
|
||||
'GALAXY_IGNORE_CERTS',
|
||||
field_class=fields.BooleanField,
|
||||
|
||||
Reference in New Issue
Block a user