fmt.Printf("Error Certificate (cacerts.crt,client.pem,client.key) required : Client authentication failed due to certificate not present in cert directory !!\n")
@ -115,6 +118,7 @@ func (s *EnvSettings) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.RegistryConfig,"registry-config",s.RegistryConfig,"path to the registry config file")
fs.StringVar(&s.RepositoryConfig,"repository-config",s.RepositoryConfig,"path to the file containing repository names and URLs")
fs.StringVar(&s.RepositoryCache,"repository-cache",s.RepositoryCache,"path to the file containing cached repository indexes")
fs.StringVar(&s.ClientSecCertDirectory,"client-sec-cert-dir",s.ClientSecCertDirectory,"path to the secondary certificate directory used for 2-way ssl support(oci pull for artificat repo)")
}
funcenvOr(name,defstring)string{
@ -157,6 +161,7 @@ func (s *EnvSettings) EnvVars() map[string]string {