Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spelling error with backwards compatiblity #258

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ rke2_etcd_snapshot_destination_dir: "{{ rke2_data_path }}/server/db/snapshots"
# region: "" # optional - defaults to us-east-1
# folder: "" # optional - defaults to top level of bucket
# Override default containerd snapshotter
rke2_snapshooter: overlayfs
rke2_snapshotter: "{{ rke2_snapshooter }}"
rke2_snapshooter: overlayfs # legacy variable that only exists to keep backward compatibility with previous configurations

# Deploy RKE2 with default CNI canal
rke2_cni: canal
Expand Down
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ rke2_etcd_snapshot_destination_dir: "{{ rke2_data_path }}/server/db/snapshots"
# region: "" # optional - defaults to us-east-1
# folder: "" # optional - defaults to top level of bucket
# Override default containerd snapshotter
rke2_snapshooter: overlayfs
rke2_snapshotter: "{{ rke2_snapshooter }}"
rke2_snapshooter: overlayfs # legacy variable that only exists to keep backward compatibility with previous configurations

# Deploy RKE2 with default CNI canal
rke2_cni: canal
Expand Down
2 changes: 1 addition & 1 deletion molecule/cluster/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
become: yes
vars:
rke2_version: v1.22.12+rke2r1
rke2_snapshooter: native
rke2_snapshotter: native
rke2_server_node_taints:
- 'CriticalAddonsOnly=true:NoExecute'
roles:
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
become: yes
vars:
rke2_version: v1.27.1+rke2r1
rke2_snapshooter: native
rke2_snapshotter: native
roles:
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
2 changes: 1 addition & 1 deletion molecule/ha_cluster/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
rke2_version: v1.22.12+rke2r1
rke2_ha_mode: true
rke2_api_ip: 192.168.123.100
rke2_snapshooter: native
rke2_snapshotter: native
rke2_server_node_taints:
- 'CriticalAddonsOnly=true:NoExecute'
roles:
Expand Down
2 changes: 1 addition & 1 deletion molecule/ha_cluster_kubevip/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
rke2_api_ip: 192.168.123.100
rke2_version: v1.22.12+rke2r1
rke2_cis_profile: cis-1.23
rke2_snapshooter: native
rke2_snapshotter: native
rke2_ha_mode_keepalived: false
rke2_ha_mode: true
rke2_ha_mode_kubevip: true
Expand Down
2 changes: 1 addition & 1 deletion templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ node-label:
- {{ label }}
{% endfor %}
{% endif %}
snapshotter: {{ rke2_snapshooter }}
snapshotter: {{ rke2_snapshotter }}
node-name: {{ rke2_node_name }}
{% if ( disable_kube_proxy | bool ) %}
disable-kube-proxy: true
Expand Down
Loading