-
Notifications
You must be signed in to change notification settings - Fork 79
Update Load Balancer CLI options #521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update Load Balancer CLI options #521
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've noted some changes and I think overall, my thoughts are that there are too many flags doing the slightly different things on the same command. I would like to split all ssl logic into the ssl sub-command. Also formatting of the input data as b64 seems inappropriate as an entirely separate flag even though that's how the API is designed, though I'm not sure there's a better solution.
cmd/loadbalancer/loadbalancer.go
Outdated
@@ -180,11 +180,41 @@ func NewCmdLoadBalancer(base *cli.Base) *cobra.Command { //nolint:funlen,gocyclo | |||
return fmt.Errorf("error parsing flag 'ssl-redirect' for load balancer create : %v", errSs) | |||
} | |||
|
|||
domainZone, errDz := cmd.Flags().GetString("auto-ssl-domain-zone") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at these, I wonder if we should shift the relevant SSL functions all under the ssl sub-command along with the delete and auto ssl disable.
ssl:
- add
- delete
- update
- disable-auto-ssl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would make sense to move certificate logic into this sub-command as well.
Description
Added Support for:
HTTP2/3
Timeout
GlobalRegions
Base64 SSL options
AutoSSL
Related Issues
Checklist: