hostAliases
Description
Note: This property is only available in version 1.6.5 onward.
The hostAliases property allows the configuration of static-host entries within DataPower's DNS Settings. This property is a passthrough to the hostAliases property within the PodSpec, and thus the schema
are the same. Configuring entries within hostAliases will add them to /etc/hosts within the Pod as well as DataPower's DNS Settings.
Reference:
Example
apiVersion: datapower.ibm.com/v1beta3
kind: DataPowerService
metadata:
name: example
spec:
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"
- "bar.local"