Skip to main content

astroctl_notifications_subscriptions_upsert

astroctl notifications subscriptions upsert

Create or update a notification subscription

Synopsis

Create or update a notification subscription for a specific topic. The subscription will be enabled by default.

astroctl notifications subscriptions upsert [flags]

Examples


# Create or update a subscription
astroctl notifications subscriptions upsert --topic application-pipeline --channels slack,email

# Create subscription with only email notifications
astroctl notifications subscriptions upsert --topic cluster-provisioning --channels emailc

Options

      --channels strings   Notification channels (comma-separated list: email,slack)
-h, --help help for upsert
--topic string Notification topic

Options inherited from parent commands

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

SEE ALSO