Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Add option to disable TLS on minio#1206

Merged
dvaldivia merged 2 commits intominio:masterfrom
pjuarezd:disable-tls
Jul 19, 2022
Merged

Add option to disable TLS on minio#1206
dvaldivia merged 2 commits intominio:masterfrom
pjuarezd:disable-tls

Conversation

@pjuarezd
Copy link
Copy Markdown
Member

No description provided.

Comment thread kubectl-minio/cmd/tenant-create.go Outdated
f.BoolVar(&c.tenantOpts.DisableAntiAffinity, "enable-host-sharing", false, "[TESTING-ONLY] disable anti-affinity to allow pods to be co-located on a single node (unsupported in production environment)")
f.StringVar(&c.tenantOpts.KmsSecret, "kes-config", "", "name of secret for KES KMS setup, refer https://github.com/minio/operator/blob/master/examples/kes-secret.yaml")
f.BoolVar(&c.tenantOpts.EnableAuditLogs, "enable-audit-logs", true, "Enable/Disable audit logs")
f.BoolVar(&c.tenantOpts.EnableTLS, "enable-tls", true, "Enable/Disable TLS")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is simply easier to take --disable-tls as an option instead of --enable-tls=false WDYT? @pjuarezd

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am good with that, --disable-tls . It was a little tricky because default values are not a good inicator of whether the parameter was set or not by the user, change is pushed in latest commit

we disable tls if and only the flag is present, regardless of what value the user assigns
Copy link
Copy Markdown
Contributor

@cniackz cniackz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dvaldivia dvaldivia dismissed harshavardhana’s stale review July 19, 2022 16:32

comments were addressed and the flag changed to disable-tls

@dvaldivia dvaldivia merged commit 9c63b6e into minio:master Jul 19, 2022
@pjuarezd pjuarezd deleted the disable-tls branch July 29, 2022 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants