We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a158f commit e5801f8Copy full SHA for e5801f8
hieradata/site/tu/cluster/rancher.yaml
@@ -0,0 +1,5 @@
1
+---
2
+rke2::config:
3
+ server: "https://rancher-api.%{::site}.lsst.org:9345"
4
+ tls-san:
5
+ - "rancher-api.%{::site}.lsst.org"
spec/hosts/nodes/rancher01.tu.lsst.org_spec.rb
@@ -19,19 +19,19 @@
19
end
20
let(:node_params) do
21
{
22
- role: 'rke',
+ role: 'rke2server',
23
site: 'tu',
24
cluster: 'rancher',
25
}
26
27
28
it { is_expected.to compile.with_all_deps }
29
30
- include_examples 'docker', docker_version: '24.0.9'
31
-
32
it do
33
- is_expected.to contain_class('profile::core::rke').with(
34
- version: '1.7.6'
+ is_expected.to contain_class('rke2').with(
+ node_type: 'server',
+ release_series: '1.31',
+ version: '1.31.7~rke2r1'
35
)
36
37
0 commit comments