Config Change API Integration 🔗

Config change API allows users to send changes in their config (from internal tools and infrastructure), and see them as part of the Komodor Service view.

How to use

REQUEST URL

Mandatory query params will be used for service selection:

  • serviceName
  • namespace
  • clusterName

URL example https://api.komodor.com/v0/config_change?serviceName=backend-service&namespace=default&clusterName=production"

AUTHENTICATION

To authenticate the request use the API Key on your "REST API" integration tile in the Komodor app and add it to a header with X-API-KEY name.

The REST API key can be found on the Integration page.

If REST API integration isn't available for your account, please contact your account manager in Komodor.

BODY

This is the event itself with the relevant configuration you want to be connected to the service as JSON. { key1: value1, key2: value2â€Ļ }

Config map and Secrets

Configmap and Secrets can be shown in the events tab, please contact us if you want this option. Configmaps that include the coming words will be ignored:

  • "istio"
  • "cluster-autoscaler-status"

Full Example

curl -H "X-API-KEY: <rest api key>" -H "Content-Type: application/json" -d '{"key":"value"}' "https://api.komodor.com/v0/config_change?serviceName=backend-service&namespace=default&clusterName=production"

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.