---

- type: replace
  path: /instance_groups/name=nats/jobs/name=nats/properties/nats/user
  value: nats_user

---
# This is set differently to the cf-deployment manifest for historical reasons.
# Ideally, we'd change this to match cf-deployment, but it's non-trivial to
# change the username without downtime to apps on the platform as there will be
# a period while route registration won't work..

- type: replace
  path: /instance_groups/name=nats/jobs/name=nats/properties/nats/user
  value: nats_user

Add comment explaining why nats_username is overridden
Add comment explaining why nats_username is overridden

I initially tried removing this opsfile, but deploying the change led to
significant downtime for both apps and the API.
