https://rancher.com/ logo
Title
w

wide-author-88664

12/09/2022, 5:26 PM
Good day K3S folk — question about install option; can I pass the
--tls-san
option more than once if I want to add both an IP and a DNS name as SANs, or does the
--tls-san
option accept multiple values (and, how to specify multiple values then?)
c

creamy-pencil-82913

12/09/2022, 6:31 PM
all of the options that take a list can either be specified multiple times, or take a comma-separated list. You can even do both. --foo=bar --foo=baz --foo=bop --foo=bar --foo=baz,bop --foo=bar,baz,bop are all equivalent
this is consistent with upstream Kubernetes behavior for StringSlice flags
w

wide-author-88664

12/09/2022, 6:44 PM
Awesome, thanks!