All Projects → OutThereLabs → openshift-slack-notifications

OutThereLabs / openshift-slack-notifications

Licence: MIT license
OpenShift slack notifications

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to openshift-slack-notifications

jetlag
Automation to deploy Bare-metal OpenShift leveraging the Assisted-Installer
Stars: ✭ 18 (+28.57%)
Mutual labels:  openshift
camunda-cloud-helm
Camunda Platform 8 Self-Managed Helm charts
Stars: ✭ 41 (+192.86%)
Mutual labels:  openshift
butterbot
Butterbot is a blazingly dumb bot written in Swift
Stars: ✭ 20 (+42.86%)
Mutual labels:  slack-bot
anthill
A Kubernetes/OpenShift operator to manage Gluster clusters
Stars: ✭ 35 (+150%)
Mutual labels:  openshift
backup-repository
Backup storage for E2E GPG-encrypted files, with multi-user, quotas, versioning, using a object storage (S3/Min.io/GCS etc.) and deployed on Kubernetes or standalone.
Stars: ✭ 21 (+50%)
Mutual labels:  openshift
awesome-ops-system
收集了一些运维管理系统
Stars: ✭ 116 (+728.57%)
Mutual labels:  ops
isolex
Chat bot able to speak natural language and markup, prompt to complete commands, and offer localized help. Configured with schema-validated YAML, features JWT authentication with granular RBAC, and SQL persistence.
Stars: ✭ 15 (+7.14%)
Mutual labels:  slack-bot
kubernetes-kafka
Managing kafka clusters in Kubernetes and OpenShift
Stars: ✭ 18 (+28.57%)
Mutual labels:  openshift
slack-notifier
This script will help you to send slack scheduled notification (message)
Stars: ✭ 22 (+57.14%)
Mutual labels:  slack-bot
apb-examples
A repository of example ansible-playbook bundles. THIS REPO IS DEPRECATED. Please look at https://github.com/ansibleplaybookbundle/ For updated examples.
Stars: ✭ 15 (+7.14%)
Mutual labels:  openshift
python-epo-ops-client
Python Client for the European Patent Office's Open Patent Services API
Stars: ✭ 104 (+642.86%)
Mutual labels:  ops
anime-reaction-api
An API/Slack/Discord Bot to serve image links of anime reactions
Stars: ✭ 25 (+78.57%)
Mutual labels:  slack-bot
Chowkidar
A kubernetes controller that watches/observes events & then takes configured actions – [✩Star] if you're using it!
Stars: ✭ 55 (+292.86%)
Mutual labels:  openshift
slack-metabot
Extract metadata (EXIF) from uploaded files on Slack
Stars: ✭ 15 (+7.14%)
Mutual labels:  slack-bot
dockerevil
My security researches involving Docker and Openshift
Stars: ✭ 28 (+100%)
Mutual labels:  openshift
walkiebot
walkiebot opensource
Stars: ✭ 42 (+200%)
Mutual labels:  slack-bot
ocp4upc
OCP4 Upgrade Paths Checker
Stars: ✭ 30 (+114.29%)
Mutual labels:  openshift
django-probes
Django app to run database liveness probe in a Kubernetes project
Stars: ✭ 32 (+128.57%)
Mutual labels:  openshift
toronto-apartment-finder
[really old and probably doesn't work] Slack bot to post relevant Toronto apartment listings from Kijiji & Craigslist
Stars: ✭ 23 (+64.29%)
Mutual labels:  slack-bot
s2i-ruby-container
Ruby container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running Ruby applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 55 (+292.86%)
Mutual labels:  openshift

OpenShift Slack Notifications

A project to send OpenShift error messages to a slack channel of your choice.

Cluster Deployment

First create a Slack Incoming Webhook.

Then deploy this bot to OpenShift with permissions via:

$ oc adm policy add-cluster-role-to-user cluster-reader system:serviceaccount:<current-project-here>:default --as=system:admin
$ oc new-app -f https://raw.githubusercontent.com/OutThereLabs/openshift-slack-notifications/master/template.yaml \
             -p SLACK_WEBHOOK_URL=https://hooks.slack.com/services/<webhook-specifics-here> \
             -p OPENSHIFT_CONSOLE_URL=https://<openshift-host-here>:8443/console
$ oc start-build openshift-slack-notifications

Once the app is built and deployed, it will start sending notifications to slack when there are Warning type events.

Slackbot Message

Local Development

Cluster Requirements

First you need a running minishift cluster. This can be installed via homebrew:

$ brew install socat openshift-cli docker-machine-driver-xhyve
$ brew tap caskroom/versions
$ brew cask install minishift-beta

The xhyve hypervisor requires superuser privileges. To enable, execute:

$ sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
$ sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Then start the cluster with:

$ minishift start --memory 4048

App Requirements

First add the privileges to mount volumes and read cluster state to your service account:

$ oc login -u system:admin
$ oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:myproject:default --as=system:admin
$ oc adm policy add-cluster-role-to-user cluster-reader system:serviceaccount:myproject:default --as=system:admin

Then create your dev environment via the provided template

$ oc process -f debug-template.yaml -v SOURCE_PATH="${PWD}" SLACK_WEBHOOK_URL=<slack-webhook-url-here> OPENSHIFT_CONSOLE_URL=https://<cluster-ip-here>:8443/console | oc create -f -
$ oc start-build go

Debugging the app

To run a local copy, start a debug pod

$ oc debug dc/go-dev
$ cd go/github.com/outtherelabs/openshift-slack-notifications && glide up
$ go run main.go
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].