Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.35 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.35 KB

Managed-notifications

Notification templates for OpenShift Managed services

Usage

Select the corresponding message and send it as a POST to api.openshift.com servicelog.

⚠️ Please review each template before post to make sure all the parameters are passed with -p

📚 If you are not sure which servicelog to send, you can use the generic one here

Examples

Using osdctl

  1. Authenticate at https://cloud.redhat.com/openshift/token

  2. Post servicelog

    osdctl servicelog post <cluster UUID> -t <notificationTemplateUrl> 
    

    Example:

    osdctl servicelog post aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee -t https://raw.githubusercontent.com/openshift/managed-notifications/master/osd/aws/InstallFailed_TooManyBuckets.json
    

Note: Osdctl supports the usage of the unique cluster name, or the internal- and external ID as clusterID.

Tags

Some template files have a _tag field for easier searching.

For example, in GitHub, searching t_network will show you all the network related template files.

Validating Managed Notifications

Run make validate to perform basic validations against the notifications configured in this repo.