File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed
teleport-master/templates/roles Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 11- name : Install k3s agent
22 ansible.builtin.shell : |
3- curl -sfL https://get.k3s.io | K3S_URL=https://{{ k3s_master_ip }}:6443 K3S_TOKEN={{ hostvars[groups['master'][0]]['k3s_token'] }} sh -
3+ curl -sfL https://get.k3s.io | \
4+ K3S_URL=https://{{ k3s_master_ip }}:6443 \
5+ K3S_TOKEN={{ hostvars[groups['master'][0]]['k3s_token'] }} \
6+ K3S_NODE_LABEL="node-role.kubernetes.io/worker=true" \
7+ sh -
Original file line number Diff line number Diff line change 1212 - repository: "{{ github_infra_repo }}"
1313 workflow: "{{ github_infra_repo_workflows }}"
1414 resources: ['bot']
15+ rules:
16+ - resources: [user]
17+ verbs: [renew]
1518 verbs: ['create', 'read']
1619
20+
1721 impersonate:
1822 roles: ['admin-access']
1923 users: ["{{ '{{internal.bot_name}}' }}"]
Original file line number Diff line number Diff line change @@ -13,13 +13,19 @@ spec:
1313 kubernetes_labels:
1414 '*': '*'
1515 kubernetes_groups: ['system:masters']
16+ kubernetes_resources:
17+ - kind: '*'
18+ namespace: '*'
19+ name: '*'
1620
1721 db_labels:
1822 '*': '*'
1923
2024 rules:
2125 - resources: ['*']
2226 verbs: ['*']
27+ - resources: [user]
28+ verbs: [renew]
2329
2430 options:
2531 forward_agent: true
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ clusters = {
88 name = " worker-group-1"
99 instance_size = " Standard_B1ms"
1010 disk_size = 30
11- count = 1
11+ count = 2
1212 tags = { role = " ms1" , owner = " exploravis-infra" }
1313 }
1414 ]
You can’t perform that action at this time.
0 commit comments