mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-06 13:22:50 +00:00
- Added docs for securityContext - enabled web securityContext configuration Co-authored-by: Christian M. Adams <chadams@redhat.com>
28 lines
808 B
Markdown
28 lines
808 B
Markdown
#### Service Account
|
|
|
|
It is possible to modify some `SecurityContext` proprieties of the various deployments and stateful sets if needed.
|
|
|
|
| Name | Description | Default |
|
|
| ---------------------------------- | -------------------------------------------- | ------- |
|
|
| security_context_settings | SecurityContext for Task and Web deployments | {} |
|
|
| postgres_security_context_settings | SecurityContext for Task and Web deployments | {} |
|
|
|
|
|
|
Example configuration securityContext for the Task and Web deployments:
|
|
|
|
```yaml
|
|
spec:
|
|
security_context_settings:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
```
|
|
|
|
|
|
```yaml
|
|
spec:
|
|
postgres_security_context_settings:
|
|
runAsNonRoot: true
|
|
```
|