-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97a3631
commit 293ccc3
Showing
15 changed files
with
479 additions
and
118 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Rancher Cluster Templates Helm Chart | ||
|
||
| Type | Chart Version | App Version | | ||
| :-----: | :-----------: | :---------: | | ||
| library | `v0.2.0` | `v0.2.0` | | ||
|
||
## Important Notes | ||
|
||
### Actively Maintained Providers | ||
|
||
- AWS Commercial | ||
- AWS GovCloud | ||
- Custom | ||
|
||
### Verified/Tested Providers: | ||
|
||
- AWS Commercial | ||
- AWS GovCloud | ||
- Rancher Harvester | ||
- VMWare vSphere | ||
- Custom | ||
|
||
## Installing the Chart | ||
|
||
```bash | ||
helm repo add cluster-templates https://rancherfederal.github.io/rancher-cluster-templates | ||
helm upgrade -i cluster cluster-templates/rancher-cluster-templates -n fleet-default -f values.yaml | ||
``` | ||
|
||
```bash | ||
helm status cluster -n fleet-default | ||
``` | ||
|
||
## Uninstalling the Chart | ||
|
||
```bash | ||
helm delete cluster -n fleet-default | ||
``` | ||
|
||
## Example Configurations | ||
|
||
- [Amazon EC2](values-aws.yaml) | ||
- [Example](../../examples/aws/values-aws.yaml) | ||
- [Microsoft Azure](values-azure.yaml) | ||
- [Digital Ocean](values-do.yaml) | ||
- [Rancher Harvester](values-harvester.yaml) | ||
- [VMWare vSphere](values-vsphere.yaml) |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
|
||
Congratulations! You've successfully deployed a cluster using the Rancher Cluster Templates (by RGS). | ||
Congratulations! You've successfully deployed a cluster using the Helm Chart for Rancher Cluster Templates. | ||
|
||
Please be patient for the cluster to provision and deploy on your infrastructure. | ||
|
||
View the Github: https://github.com/rancherfederal/rancher-cluster-templates | ||
View the Cluster -> https://{{ .Values.rancher.cattle.url }}/dashboard/c/_/manager/provisioning.cattle.io.cluster/fleet-default/{{ .Values.cluster.name }} | ||
|
||
View the Docs -> https://github.com/rancherfederal/rancher-cluster-templates |
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,62 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "rancher-cluster-templates.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "rancher-cluster-templates.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "rancher-cluster-templates.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "rancher-cluster-templates.labels" -}} | ||
helm.sh/chart: {{ include "rancher-cluster-templates.chart" . }} | ||
{{ include "rancher-cluster-templates.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "rancher-cluster-templates.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "rancher-cluster-templates.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "rancher-cluster-templates.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "rancher-cluster-templates.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.