Skip to content

Commit

Permalink
chore(examples/config/rke2): Add tls-sans to rke2/config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Mar 30, 2023
1 parent f129edd commit c3a1f1b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/config/rke2/gobblefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ hosts:
- ssh_target: root@gobble-example-rke2-ma1.sikademo.com
vars:
first_master: true
fqdn: gobble-example-rke2-ma1.sikademo.com
- ssh_target: root@gobble-example-rke2-ma2.sikademo.com
vars:
fqdn: gobble-example-rke2-ma2.sikademo.com
- ssh_target: root@gobble-example-rke2-ma3.sikademo.com
vars:
fqdn: gobble-example-rke2-ma3.sikademo.com
wo:
- ssh_target: root@gobble-example-rke2-wo1.sikademo.com
vars:
Expand Down Expand Up @@ -59,6 +64,10 @@ plays:
{{ if not .Vars.first_master }}
server: https://{{.Vars.server}}:9345
{{ end }}
tls-san:
{{ range $i, $server := .Config.Hosts.ma }}
- {{$server.Vars.fqdn}}
{{ end }}
token: {{.Vars.token}}
node-taint:
- "CriticalAddonsOnly=true:NoExecute"
Expand Down

0 comments on commit c3a1f1b

Please # to comment.