apiVersion: v1
kind: Service
metadata:
  name: allowed-external-ip-violation
spec:
  selector:
    app: MyApp
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 8080
  externalIPs:
    - 1.1.1.1
