Allow isolated paths as hostPath volume @ k8s/ocp/container groups

This commit is contained in:
Marcelo Moreira de Mello
2022-01-24 15:44:43 -05:00
parent eb52095670
commit 5e8107621e
7 changed files with 75 additions and 1 deletions

View File

@@ -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,