This is a security measure done by Dgraph automatically. To “fix” this you have to use the whitelisting flag. See https://dgraph.io/docs/deploy/admin/
e.g:
dgraph alpha --whitelist 172.15.1.2
And you should good to go.
Also, Thanks for being proactive and give us more contextual info. But in general, I personally recommend that you share logs, YAMLs, and other “wall of info” as GIST or “Pastebin” or some other service like that. If that info isn’t crucial for the case you can let them on those services. That also helps us to understand the case. Cuz we would know that you probably are just sharing context and not that you suspect that you did some typo or something like that.
PS: That’s only a personal tip for ya. To get better responses from us.
We would waste some time looking on the wrong place. Also, you are probably using this very same YAML dgraph/contrib/config/kubernetes/dgraph-single/dgraph-single.yaml at master · dgraph-io/dgraph · GitHub You could just share this link and tell us what line you have changed something.
Cheers!