Rancher
Rancher is a Kubernetes management tool to deploy and run clusters anywhere and on any provider.
Example Usage
resource "apono_integration" "rancher-integration" {
name = "Rancher"
type = "rancher"
connector_id = "apono-connector-id"
connected_resource_types = ["rancher-cluster"]
metadata = {
host = "<Host>"
port = "<Port>"
certificate_authority = "<Certificate Authority>"
rancher_ui_url = "<Rancher UI URL>"
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"
}
}resource "apono_resource_integration" "rancher-integration" {
name = "Rancher"
type = "rancher"
connector_id = "apono-connector-id"
connected_resource_types = ["rancher-cluster"]
integration_config = {
host = "<Host>"
port = "<Port>"
certificate_authority = "<Certificate Authority>"
rancher_ui_url = "<Rancher UI URL>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
secret_store_config = {
kubernetes = {
name = "name_template_value"
namespace = "namespace_template_value"
}
}{
"rancher-integration": {
"name": "Rancher",
"type": "rancher",
"connector_id": "apono-connector-id",
"connected_resource_types": [
"rancher-cluster"
],
"integration_config": {
"host": "<Host>",
"port": "<Port>",
"certificate_authority": "<Certificate Authority>",
"rancher_ui_url": "<Rancher UI URL>",
"credentials_rotation_period_in_days": "<Credentials rotation period (in days)>",
"credentials_cleanup_period_in_days": "<User cleanup after access is revoked (in days)>",
},
"secret_store_config": {
"name": "name_template_value",
"namespace": "namespace_template_value"
}
}
}Schema
typerancherconnected_resource_typesList of resource types to sync.
Integration Config
host(Required | String) Hostport(Required | String) Portcertificate_authority(Optional | String) Certificate Authorityrancher_ui_url(Optional | String) Rancher UI URLcredentials_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?
