runAsRoot

Description

By default, DataPower containers run as a non-root user. When runAsRoot is enabled (boolean true), the StatefulSet will instead be configured to run the DataPower containers as root user.

Warning: This should only be enabled if you are certain that the services you are deploying to DataPower require root privileges. Examples include SSH and SFTP.

Note: See Running DataPower containers as root user for special considerations, including required prerequisites if running on OpenShift.

Example

apiVersion: datapower.ibm.com/v1beta3
kind: DataPowerService
metadata:
  name: example-dpservice
spec:
  runAsRoot: true