Rancher

Rancher is a Kubernetes management tool to deploy and run clusters anywhere and on any provider.

Example Terraform Resource Usage


resource "apono_integration" "rancher-integration" {
  name                     = "Rancher"
  type                     = "rancher"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["resource-type-1", "resource-type-2"]
  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"
  }
}

Schema


  • type rancher

  • connected_resource_types List of resource types to sync. The following are the available resource type/s you can use:

    • rancher

    • rancher-cluster

    • rancher-project

Metadata

  • host (Required | String) Host

  • port (Required | String) Port

  • certificate_authority (Optional | String) Certificate Authority

  • rancher_ui_url (Optional | String) Rancher UI URL

  • credentials_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