Authentication
This provider requires authentication.- api_server: The kubernetes api server url (required: True, sensitive: False)
- token: Bearer token to access kubernetes (required: True, sensitive: True)
- insecure: Skip TLS verification (required: False, sensitive: False)
- 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:Connecting with the Provider
To connect to Kubernetes, follow below steps:- Create a service account on Kubernetes.
- Create role/clusterrole and bind to service account using rolebinding/clusterrolebinding.
- Get the token of service account.
Notes
- This provider allows you to interact with Kubernetes to perform rollout restart or pods listing actions.