This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add Descriptor for Rancher with Catalog client * Add Descriptor for Cluster with Catalog client * Add Descriptor for Project with Catalog client * Add catalog samples
- Loading branch information
wtschreiter
authored
Jun 26, 2019
1 parent
99ca9a8
commit e0c1da7
Showing
143 changed files
with
2,449 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.