Skip to content

Commit

Permalink
updated vsphere values and release new version (#38)
Browse files Browse the repository at this point in the history
* updated example values for vsphere
* updated chart for release
  • Loading branch information
zackbradys authored Dec 8, 2024
1 parent 04dbde0 commit a8406f1
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 33 deletions.
6 changes: 3 additions & 3 deletions charts/cluster-templates/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
name: rancher-cluster-templates
description: Hardened Rancher Cluster Templates by Rancher Government Solutions
description: Hardened Rancher Cluster Templates by Rancher Government
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.5.3
appVersion: 0.5.3
version: 0.6.0
appVersion: 0.6.0
annotations:
catalog.cattle.io/type: cluster-template
catalog.cattle.io/namespace: fleet-default
2 changes: 1 addition & 1 deletion charts/cluster-templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Type | Chart Version | App Version |
| :---------: | :-----------: | :---------: |
| application | `0.5.3` | `0.5.3` |
| application | `0.6.0` | `0.6.0` |

⚠️ This project is still in active development. As we continued to develop it, there will be breaking changes. ⚠️

Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/app-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Type | Chart Version | App Version |
| :---------: | :-----------: | :---------: |
| application | `0.5.3` | `0.5.3` |
| application | `0.6.0` | `0.6.0` |

⚠️ This project is still in active development. As we continued to develop it, there will be breaking changes. ⚠️

Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-templates/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Congratulations! You've successfully deployed a cluster using the Helm Chart for Rancher Cluster Templates by Rancher Government Solutions. Please be patient for the cluster to provision and deploy on your infrastructure.
Congratulations! You've successfully deployed a cluster using the Helm Chart for Rancher Cluster Templates by Rancher Government. Please be patient for the cluster to provision and deploy on your infrastructure.

View the Cluster -> https://{{ .Values.rancher.cattle.url | default "<rancher-url>" }}/dashboard/c/_/manager/provisioning.cattle.io.cluster/fleet-default/{{ .Values.cluster.name }}

Expand Down
97 changes: 70 additions & 27 deletions charts/cluster-templates/values-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,81 @@ rancher:
cattle:
url: # required (example: rancher.example.com)

### Configure information about the cluster you are creating here
cluster:
name: "exampleCluster"
config:
kubernetesVersion: "v1.28.13+k3s1"

### Configure information about vCenter
# vcenter url
vcenter:
host: "vcenter.lab"
host: # required (example: vmware.local)

# cluster values
cluster:
# annotations:
# key: value
# labels:
# key: value
name: rke2-cluster-vsphere

# For a complete list of config options, please look here:
# https://github.com/rancherfederal/rancher-cluster-templates/blob/customWork/charts/cluster-templates/templates/nodeconfig-vsphere.yaml
nodepools:
- name: "control-plane"
quantity: 1
datacenter: "/Datacenter"
datastore: "/Datacenter/datastore/vsanDatastore"
# Specify one creationType: vm, template, library, legacy
creationType: "library"
# cloneFrom will need to match the corresponding creationType
# For example, if you were cloning from a template, you would use:
# creationType: "template"
# cloneFrom: "/Datacenter/vm/Rocky9.4-minimal"
cloneFrom: "Rocky9.4-minimal"
contentLibrary: "MyContentLibrary"
cloneFrom: "Rocky9.4-minimal"
- name: control-plane-nodes
quantity: 3
etcd: true
controlplane: true
worker: false
# labels:
# key: value
# taints:
# effect: value
# key: value
# value: value
paused: false
# drainBeforeDelete: true
# drainBeforeDeleteTimeout: 30s
# unhealthyNodeTimeout: 60s
# machineDeploymentLabels:
# key: value
# machineDeploymentAnnotations:
# key: value
# rollingUpdate:
# maxUnavailable: 1
# maxSurge: 1
datacenter: # required (example: /Datacenter)
datastore: # required (example: /Datacenter/datastore/vsanDatastore)
creationType: # required (example: vm, template, library, legacy)
cloneFrom: # requried - cloneFrom will need to match the corresponding creationType
contentLibrary: # required
cpuCount: 4
memorySize: 8192
diskSize: 20000
# cloudConfig: |
#cloud-config

- name: worker-nodes
quantity: 3
etcd: false
controlplane: false
worker: true
cpuCount: 2
# labels:
# key: value
# taints:
# effect: value
# key: value
# value: value
paused: false
# drainBeforeDelete: true
# drainBeforeDeleteTimeout: 30s
# unhealthyNodeTimeout: 60s
# machineDeploymentLabels:
# key: value
# machineDeploymentAnnotations:
# key: value
# rollingUpdate:
# maxUnavailable: 1
# maxSurge: 1
datacenter: # required (example: /Datacenter)
datastore: # required (example: /Datacenter/datastore/vsanDatastore)
creationType: # required (example: vm, template, library, legacy)
cloneFrom: # requried - cloneFrom will need to match the corresponding creationType
contentLibrary: # required
cpuCount: 4
memorySize: 8192
diskSize: 20000
memorySize: 4096
cloudConfig: |
# cloudConfig: |
#cloud-config
echo "Put your cloud config here"

0 comments on commit a8406f1

Please sign in to comment.