Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (30 loc) · 2.01 KB

cluster_descriptor.md

File metadata and controls

38 lines (30 loc) · 2.01 KB

Cluster Descriptor data model

ClusterDescriptor Structur:

Toplevel ClusterDescriptor

Field Description
api_version The <major>.<minor> version used for this descriptor.
kind The kind of descriptor in this file (Project)
metadata Metainformation about this descriptor e.g.: name and cluster_name
catalogs List of namespaces to be part of this project

metadata

  • In the descriptor only name should be set.
  • All other fields are read from configuration or rancher
Field Description
name The name of the cluster Optional or placed from cattleclt configuration
id Rancher internal ID of this project (read from rancher)
rancher_url The URL to reach the rancher (placed from cattleclt configuration)
access_key The access key to access rancher with (placed from cattleclt configuration)
secret_key The secret key to access rancher with (placed from cattleclt configuration)
token_key The token key to access rancher with (placed from cattleclt configuration)

catalogs

Field Description
name The name of the catalog
url The URL of the catalog
branch The branch of the catalog
username The username of the catalog
password The password of the catalog