Skip to main content

astroctl_clusters_approve

astroctl clusters approve

Approve or reject a cluster creation request

Synopsis

Process cluster creation approval requests using the token received in the approval email. When a cluster requires approval, an email is sent with an approval link containing a unique token. Use this command with that token to approve or reject the request.

astroctl clusters approve [flags]

Examples


# Approve a cluster creation request using the token from the approval email
astroctl clusters approve my-cluster --token abc123def456 --org-id org-xyz --action APPROVE

# Reject a cluster creation request
astroctl clusters approve my-cluster --token abc123def456 --org-id org-xyz --action REJECT

# Approve using positional argument for cluster name
astroctl clusters approve my-cluster -t abc123def456 --org-id org-xyz -a APPROVE

# The token and org-id are typically provided in the approval email or link

Options

  -a, --action string         The approval action (APPROVE or REJECT)
-c, --cluster-name string The cluster name for approval
-h, --help help for approve
--org-id string Organization ID
-t, --token string The approval token from the approval request

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO