@@ -25,19 +25,22 @@ func CmdFlags() []cli.Flag {
25
25
EnvVars : []string {"TARIAN_SERVER_ADDRESS" },
26
26
},
27
27
& cli.BoolFlag {
28
- Name : "server-tls-enabled" ,
29
- Usage : "If enabled, it will communicate with the server using TLS" ,
30
- Value : false ,
28
+ Name : "server-tls-enabled" ,
29
+ Usage : "If enabled, it will communicate with the server using TLS" ,
30
+ Value : false ,
31
+ EnvVars : []string {"TARIAN_TLS_ENABLED" },
31
32
},
32
33
& cli.StringFlag {
33
- Name : "server-tls-ca-file" ,
34
- Usage : "The CA the server uses for TLS connection." ,
35
- Value : "" ,
34
+ Name : "server-tls-ca-file" ,
35
+ Usage : "The CA the server uses for TLS connection." ,
36
+ Value : "" ,
37
+ EnvVars : []string {"TARIAN_TLS_CA_FILE" },
36
38
},
37
39
& cli.BoolFlag {
38
- Name : "server-tls-insecure-skip-verify" ,
39
- Usage : "If set to true, it will skip server's certificate chain and hostname verification" ,
40
- Value : true ,
40
+ Name : "server-tls-insecure-skip-verify" ,
41
+ Usage : "If set to true, it will skip server's certificate chain and hostname verification" ,
42
+ Value : true ,
43
+ EnvVars : []string {"TARIAN_TLS_INSECURE_SKIP_VERIFY" },
41
44
},
42
45
}
43
46
}
0 commit comments