Kubernetes
Kubernetes is an open-source container orchestration system for automating software deployment, scaling, and management.
Example Usage
resource "apono_integration" "k8s-roles-integration" {
name = "Kubernetes"
type = "k8s-roles"
connector_id = "apono-connector-id"
connected_resource_types = ["k8s-cluster"]
metadata = {
cluster_name = "<kubeconfig Cluster Name>"
kubeconfig_api_server_url = "<kubeconfig Server URL>"
server_url = "<Server URL>"
certificate_authority = "<Certificate Authority>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
kubernetes_secret = {
name = "name_template_value"
namespace = "namespace_template_value"
}
}
Schema
type
k8s-rolesconnected_resource_types
List of resource types to sync.
Integration Config
cluster_name
(Required | String) kubeconfig Cluster Namekubeconfig_api_server_url
(Required | String) kubeconfig Server URLserver_url
(Optional | String) Server URLcertificate_authority
(Optional | String) Certificate Authoritycredentials_rotation_period_in_days
(Optional | String) Credentials rotation period (in days)credentials_cleanup_period_in_days
(Optional | String) User cleanup after access is revoked (in days)
Last updated
Was this helpful?