Skip to content

ax apply ignores -a when metadata.atespace is omitted #414

Description

@ktsoator

I noticed that ax apply -a team-a -f workspace.yaml creates the workspace in default when the manifest doesn't set metadata.atespace.

For example:

apiVersion: ax.io/v1alpha1
kind: Workspace
metadata:
  name: atespace-example
spec: {}

The command succeeds, but the workspace ends up in default instead of team-a. I reproduced this on 099f24a using the actual CLI against a local AX gRPC server with an in-memory store, and checked the store directly to confirm.

The CLI parses -a, but doesn't pass it to runApply. I'd expect the flag to supply the atespace when the manifest leaves it out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions