Skip to content

Commit

Permalink
updated/fixed chart variable parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Dec 27, 2023
1 parent dcebd63 commit c927ab9
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions charts/cluster-templates/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: rancher-cluster-templates
description: Hardened Rancher Cluster Templates by Rancher Government Solutions
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.4.1
appVersion: 0.4.1
version: 0.4.2
appVersion: 0.4.2
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 | `v0.4.1` | `v0.4.1` |
| application | `v0.4.2` | `v0.4.2` |

⚠️ 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 | `v0.4.1` | `v0.4.1` |
| application | `v0.4.2` | `v0.4.2` |

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

Expand Down
8 changes: 4 additions & 4 deletions charts/cluster-templates/templates/nodeconfig-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ useEbsOptimizedInstance: {{ $nodepool.useEbsOptimizedInstance }}
{{- if $nodepool.usePrivateAddress }}
usePrivateAddress: {{ $nodepool.usePrivateAddress }}
{{- end }}
{{- if $nodepool.userdata }}
userdata: {{- $nodepool.userdata | toYaml | indent 1 }}
{{- if $nodepool.userData }}
userdata: {{- $nodepool.userData | toYaml | indent 1 }}
{{- end }}
{{- if $nodepool.volumeType }}
volumeType: {{ $nodepool.volumeType }}
Expand Down Expand Up @@ -234,8 +234,8 @@ useEbsOptimizedInstance: {{ $nodepool.useEbsOptimizedInstance }}
{{- if $nodepool.usePrivateAddress }}
usePrivateAddress: {{ $nodepool.usePrivateAddress }}
{{- end }}
{{- if $nodepool.userdata }}
userdata: {{- $nodepool.userdata | toYaml | indent 1 }}
{{- if $nodepool.userData }}
userdata: {{- $nodepool.userData | toYaml | indent 1 }}
{{- end }}
{{- if $nodepool.volumeType }}
volumeType: {{ $nodepool.volumeType }}
Expand Down
8 changes: 4 additions & 4 deletions charts/cluster-templates/templates/nodeconfig-do.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ sshUser: {{ $nodepool.sshUser }}
{{- if $nodepool.tags }}
tags: {{ $nodepool.tags }}
{{- end }}
{{- if $nodepool.userdata }}
userdata: {{- $nodepool.userdata | toYaml | indent 1 }}
{{- if $nodepool.userData }}
userdata: {{- $nodepool.userData | toYaml | indent 1 }}
{{- end }}
---
{{- end }}
Expand Down Expand Up @@ -95,8 +95,8 @@ sshUser: {{ $nodepool.sshUser }}
{{- if $nodepool.tags }}
tags: {{ $nodepool.tags }}
{{- end }}
{{- if $nodepool.userdata }}
userdata: {{- $nodepool.userdata | toYaml | indent 1 }}
{{- if $nodepool.userData }}
userdata: {{- $nodepool.userData | toYaml | indent 1 }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/cluster-templates/values-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ nodepools:
volumeType: gp3
vpcId: # required (example: vpc-123456789)
useEbsOptimizedInstance: false
# userdata: |
# userData: |
#cloud-config

- name: worker-nodes
Expand Down Expand Up @@ -180,7 +180,7 @@ nodepools:
volumeType: gp3
vpcId: # required (example: vpc-123456789)
useEbsOptimizedInstance: false
# userdata: |
# userData: |
#cloud-config

# addons values
Expand Down
4 changes: 2 additions & 2 deletions charts/cluster-templates/values-digitalocean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ nodepools:
# sshPort: 22
sshUser: # required (example: rocky)
# tags: ''
# userdata: |
# userData: |
#cloud-config

- name: worker-nodes
Expand All @@ -130,7 +130,7 @@ nodepools:
# sshPort: 22
sshUser: # required (example: rocky)
# tags: ''
# userdata: |
# userData: |
#cloud-config

# addons values
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaultNamespace: fleet-default
helm:
repo: https://rancherfederal.github.io/rancher-cluster-templates
chart: rancher-cluster-templates
version: 0.4.1
version: 0.4.2
releaseName: aws-cluster
valuesFiles:
- values-aws.yaml
4 changes: 2 additions & 2 deletions examples/aws/values-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ nodepools:
volumeType: gp3
vpcId: vpc-0934dc8778cdf65db # required (example: vpc-123456789)
useEbsOptimizedInstance: false
userdata: |
userData: |
#cloud-config
package_update: true
packages:
Expand Down Expand Up @@ -317,7 +317,7 @@ nodepools:
volumeType: gp3
vpcId: vpc-0934dc8778cdf65db # required (example: vpc-123456789)
useEbsOptimizedInstance: false
userdata: |
userData: |
#cloud-config
package_update: true
packages:
Expand Down
2 changes: 1 addition & 1 deletion examples/custom/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaultNamespace: fleet-default
helm:
repo: https://rancherfederal.github.io/rancher-cluster-templates
chart: rancher-cluster-templates
version: 0.4.1
version: 0.4.2
releaseName: custom-cluster
valuesFiles:
- values-custom.yaml
2 changes: 1 addition & 1 deletion examples/digitalocean/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaultNamespace: fleet-default
helm:
repo: https://rancherfederal.github.io/rancher-cluster-templates
chart: rancher-cluster-templates
version: 0.4.1
version: 0.4.2
releaseName: digitalocean-cluster
valuesFiles:
- values-digitalocean.yaml
2 changes: 1 addition & 1 deletion examples/harvester/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaultNamespace: fleet-default
helm:
repo: https://rancherfederal.github.io/rancher-cluster-templates
chart: rancher-cluster-templates
version: 0.4.1
version: 0.4.2
releaseName: harvester-cluster
valuesFiles:
- values-harvester.yaml

0 comments on commit c927ab9

Please sign in to comment.