未验证 提交 8d2d8f64 编写于 作者: R runzexia

fix comment

Signed-off-by: Nrunzexia <runzexia@yunify.com>
上级 60298d9e
...@@ -18,14 +18,14 @@ type S3Options struct { ...@@ -18,14 +18,14 @@ type S3Options struct {
func NewS3Options() *S3Options { func NewS3Options() *S3Options {
return &S3Options{ return &S3Options{
Endpoint: "", Endpoint: "http://openpitrix-minio.openpitrix-system.svc:9000",
Region: "", Region: "us-east-1",
DisableSSL: true, DisableSSL: true,
ForcePathStyle: true, ForcePathStyle: true,
AccessKeyID: "", AccessKeyID: "AKIAIOSFODNN7EXAMPLE",
SecretAccessKey: "", SecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
SessionToken: "", SessionToken: "",
Bucket: "", Bucket: "s2i-binaries",
} }
} }
...@@ -55,7 +55,7 @@ func (s *S3Options) AddFlags(fs *pflag.FlagSet) { ...@@ -55,7 +55,7 @@ func (s *S3Options) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.Bucket, "s3-bucket", "s2i-binaries", "bucket name of s2i s3") fs.StringVar(&s.Bucket, "s3-bucket", "s2i-binaries", "bucket name of s2i s3")
fs.BoolVar(&s.DisableSSL, "s3-disable-SSL", false, "disable ssl") fs.BoolVar(&s.DisableSSL, "s3-disable-SSL", true, "disable ssl")
fs.BoolVar(&s.ForcePathStyle, "s3-force-path-style", true, "force path style") fs.BoolVar(&s.ForcePathStyle, "s3-force-path-style", true, "force path style")
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册