Skip to content

doctl apps spec get not returning authority correctly #1782

@stigrune

Description

@stigrune

Describe the Issue:
I'm using doctl apps spec get <id> --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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions