-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.jinja
62 lines (62 loc) · 1.74 KB
/
map.jinja
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{% set kubeadm = salt['grains.filter_by']({
'default': {
'version': '1.17.4-0',
'runtime_pkg': 'containerd.io',
'runtime_service': 'containerd',
'runtime_version': '1.2.13-3.1.el7',
'keepalived': True,
'service_cidr': '10.96.0.0/12',
'pod_network': '172.16.0.0/16',
'v': '0',
'control': False,
'primary': False,
'encrypt_join_info': False,
'cluster_name': 'example_cluster1',
'keepalived_config': {
'interface': 'eth1',
'vrid': '51',
'priority': '100',
'pass': 'Super Secret',
},
},
'RedHat': {
'version': '1.17.4-0',
'runtime_pkg': 'containerd.io',
'runtime_service': 'containerd',
'runtime_version': '1.2.13-3.1.el7',
'keepalived': True,
'service_cidr': '10.96.0.0/12',
'pod_network': '172.16.0.0/16',
'v': '0',
'control': False,
'primary': False,
'encrypt_join_info': False,
'cluster_name': 'example_cluster1',
'keepalived_config': {
'interface': 'eth1',
'vrid': '51',
'priority': '100',
'pass': 'Super Secret',
},
},
'Debian': {
'version': '1.17.4-0',
'runtime_pkg': 'containerd.io',
'runtime_service': 'containerd',
'runtime_version': '1.2.13-1',
'keepalived': True,
'service_cidr': '10.96.0.0/12',
'pod_network': '172.16.0.0/16',
'v': '0',
'control': False,
'primary': False,
'encrypt_join_info': False,
'cluster_name': 'example_cluster1',
'keepalived_config': {
'interface': 'eth1',
'vrid': '51',
'priority': '100',
'pass': 'Super Secret',
},
},
}, merge=salt['pillar.get']('kubeadm'), base='default') %}