All Projects → redhat-cop → openshift-event-controller

redhat-cop / openshift-event-controller

Licence: other
A Container-based python controller used to integration OpenShift with other things

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to openshift-event-controller

openshift-management
Set of maintenance scripts & cron jobs for OpenShift Container Platform
Stars: ✭ 112 (+761.54%)
Mutual labels:  container-cop
template2helm
Converts an OpenShift template into a Helm chart
Stars: ✭ 28 (+115.38%)
Mutual labels:  container-cop
resource-locker-operator
No description or website provided.
Stars: ✭ 28 (+115.38%)
Mutual labels:  container-cop
declarative-openshift
Working examples of manifests for openshift for use in a declarative management strategy.
Stars: ✭ 17 (+30.77%)
Mutual labels:  container-cop
ocp-disconnected-docs
No description or website provided.
Stars: ✭ 28 (+115.38%)
Mutual labels:  container-cop
openshift-disconnected-operators
No description or website provided.
Stars: ✭ 52 (+300%)
Mutual labels:  container-cop
k8s-notify
Turn kubernetes events into useful notifications & alerts
Stars: ✭ 46 (+253.85%)
Mutual labels:  container-cop
group-sync-operator
Synchronizes groups from external providers into OpenShift
Stars: ✭ 73 (+461.54%)
Mutual labels:  container-cop
uncontained.io
On containers, cloud, and digitial transformation
Stars: ✭ 42 (+223.08%)
Mutual labels:  container-cop
gitops-catalog
Tools and technologies that are hosted on an OpenShift cluster
Stars: ✭ 163 (+1153.85%)
Mutual labels:  container-cop
keepalived-operator
An operator to manage VIPs backed by keepalived
Stars: ✭ 101 (+676.92%)
Mutual labels:  container-cop
cert-operator
An OpenShift controller using the Operator SDK for managing TLS certficate lifecycle
Stars: ✭ 27 (+107.69%)
Mutual labels:  container-cop
image-scanning-signing-service
Image Signing and Scanning as a Service
Stars: ✭ 36 (+176.92%)
Mutual labels:  container-cop

OpenShift Event Controller

The OpenShift Event Controller is a utility used as a service integrator for OpenShift and other third party components.

Getting Started

To skip right to a first deployment, check out our Quickstart Tutorial

Plugins

We currently support the following plugins:

  • Simple Plugin
    • Watches for new resources and logs those events to the console
  • DNS Plugin
    • Creates DNS records for new routes
  • Certificates Plugin
    • Creates certificates and automatically secures new routes as they get created. Works against an IPA or IDM server

Configuration

The event controller can be configured either through Environment Variables or a Config Files. We recommend the config file.

A sample config file looks like:

[global]
k8s_resource=routes
watcher_plugin=simple
log_level=INFO

[plugin_simple]
#message_log_level=WARNING

[plugin_ipa]
need_cert_annotation=openshift.io/managed.cert
ipa_user=ldap-user
ipa_password=mypassword
ipa_url=https://idm.example.com/ipa/
ipa_realm=MYREALM.EXAMPLE.COM
ca_trust=/etc/ldap-ca/ca.crt

[plugin_dns]
application_router_ip=192.168.2.3
dns_server=192.168.5.6
dns_key_file=/path/to/cloudapps.example.com.key
resolv_conf=/path/to/tmp_resolv.conf

Global Config Options

Environment Variable ini Variable Required Description
K8S_API_ENDPOINT k8s_api_endpoint True OpenShift/Kubernetes API hostname:port
K8S_TOKEN k8s_token True; will be pulled from Pod Login token (oc whoami -t)
K8S_NAMESPACED k8s_namespaced True Whether the resource is namespace scoped
K8S_NAMESPACE k8s_namespace When K8S_NAMESPACED is True; will be pulled from Pod Namespace you want to listen watch resources in
K8S_API_PATH k8s_api_path False The full API resource path. Override API path construction based on other values
K8S_API_GROUP k8s_api_group False Kubernetes API group
K8S_API_VERSION k8s_api_version False Kubernetes API Version
K8S_RESOURCE k8s_resource True The Kind of the Kubernetes or OpenShift resource
K8S_CA k8s_ca False; will be pulled from Pod Path to the ca.crt file for the cluster
LOG_LEVEL log_level False Logging threshold to be output. Options: DEBUG, INFO, WARNING, ERROR, CRITICAL; Default: INFO
WATCHER_PLUGIN watcher_plugin False Name of the Plugin you want to run in the Watcher. Default: 'simple'

Configuring A Plugin

Check the documentation for the individual plugins for more details on how they are configured.

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].