Skip to Content
IntegrationsSlack Integration

Slack Setup

  1. Go to Slack Apps

  2. Select the workspace in which you would like to get your notifications and click “Next”.

  3. Click on “Create”.

  4. Click on “Install to Workspace”.

  5. Click on “Allow”

  6. On the left side menu click on “OAuth & Permissions”

  7. Copy the “Bot User OAuth Token”

ScaleOps Integration

  1. Open your ScaleOps system

  2. Click the Alerts link on the main left navigation menu

1
  1. Click the Alert Setting button to open the settings dialogue

  2. Insert your token and click Save Token

5
  1. Select your preferable Ownership Label, Default Slack channel. You can enabled/disable this feature for selected clusters via the Enable Slack Alerts dropdown menu

  2. Optional - verify Slack alert by clicking Send Test Alert

(Optional) Configure Slack Token as External Secret

Alternatively, it’s possible to configure slack token as an external secret using the following definition:

apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: scaleops-slack-secret namespace: scaleops-system spec: secretStoreRef: name: SECRET_STORE_NAME # Replace with your secret store name kind: ClusterSecretStore # Replace with your secret store kind target: name: scaleops-slack-secret template: data: TOKEN: "{{ .slack_token }}" data: - secretKey: slack_token remoteRef: key: path/to/secret # Replace with your secret path