digitalocean / digitalocean/doctl
doctl apps spec get not returning authority correctly
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
**Describe the Issue:**
I'm using `doctl apps spec get --format json > spec.json`
I'm observing that the authority in the response is `{}`
```
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/"
},
"authority": {}
},
"component": {
"name": "pixelate"
}
}
]
},
```
But in the DigitalOcean Web UI there is an authority added on the app.
I would expect the doctl apps spec get command to return the same values that are
displayed in the web UI.
**Environment:**
- doctl version: 1.146.0-release
- OS: Tested both Windows 11 and ubuntu-latest via github actions.
- Installation method: winget, and `uses: digitalocean/action-doctl@v2`
**Additional Details:**
Also tested yaml with same results, the authority is not set in the spec.
This is a new app created by the Web UI, with deployment source “Container image”, pointing to a DigitalOcean Container Registry image. No manual changes have been done to the spec file.
Contributor guide
Assessment
This issue has not been assessed yet.