Overriding DataPowerService
spec properties
Use the dataPowerServiceSpecOverride
to configure
DataPowerService
spec-level properties.
Configure the spec.dataPowerServiceSpecOverride
section in your gateway CR to
set DataPowerService
properties.
- Edit your gateway CR:
kubectl edit GatewayCluster
- Add the
dataPowerServiceSpecOverride
section to thespec
section (if it does not exist), and configure the properties as required.
Sample configurations:
- Specify a new environment:
spec: dataPowerServiceSpecOverride: env: - name: TEST_ENV value: "true"
- Add new
initCmds
:spec: dataPowerServiceSpecOverride: initCmds: - ls -al /opt/ibm/datapower/drouter/config
dataPowerServiceSpecOverride
section to spec.gateway
.