annotations

Description

The annotations field serves as a pass-through for Pod annotations. Users can add any annotation to this field and have it apply to the Pod. The annotations here overwrite the default annotations if provided. For example, if the annotation prometheus.io/scrape was provided, it would overwrite our default value of "true".

Example

apiVersion: datapower.ibm.com/v1beta1
kind: DataPowerService
metadata:
  name: example
spec:
  annotations:
    prometheus.io/scrape: "false"