Skip to main content

Authentication

This provider requires authentication.
  • api_server: The kubernetes api server url (required: False, sensitive: False)
  • token: Bearer token to access kubernetes (leave empty for in-cluster auth) (required: False, sensitive: True)
  • insecure: Skip TLS verification (required: False, sensitive: False)
  • use_in_cluster_config: Use in-cluster configuration (ServiceAccount) (required: False, sensitive: False)
Certain scopes may be required to perform specific actions or queries via the provider. Below is a summary of relevant scopes and their use cases:
  • connect_to_kubernetes: Check if the provided token can connect to the kubernetes server (mandatory)

In workflows

This provider can be used in workflows. As “step” to query data, example:
As “action” to make changes or update data, example:
Check the following workflow example:

Connecting with the Provider

To connect to Kubernetes, follow below steps:
  1. Create a service account on Kubernetes.
  2. Create role/clusterrole and bind to service account using rolebinding/clusterrolebinding.
  3. Get the token of service account.

Notes

  • This provider allows you to interact with Kubernetes to perform rollout restart or pods listing actions.