squarescale / squarescale-cli

CLI for squarescale
0 stars 0 forks source link

Lacking implementation for some back features #134

Closed ika108 closed 1 year ago

ika108 commented 1 year ago

Namely :

and potentially also

obourdon commented 1 year ago

AFAICT docker advanced config should be present after uniformisation of all service-add service-set ... code and resolving https://github.com/squarescale/squarescale-cli/issues/152

obourdon commented 1 year ago

@ika108 not sure what you mean by node disk size (context). AFAICT, creating a project allows to do it

cf root-disk-size parameter

sqsc project create
Project name is mandatory

usage: sqsc project create [options]

  Creates a new project using the provided options.

Options:

  -consul-basic-auth string
        Set Consul Basic Authentication credentials (default "")
  -consul-enabled
        Enable Consul (default false)
  -consul-ip-whitelist string
        Set Consul IP whitelist (default "")
  -consul-prefix string
        Set Consul HTTP Prefix (default "")
  -credential string
        set the credential used to build the infrastructure (default "")
  -db-backup
        Enable database automated backups (default false)
  -db-backup-retention int
        Database automated backups retention days (default 0)
  -db-engine string
        Select database engine (default "")
  -db-size string
        Select database size (default "")
  -db-version string
        Select database version (default "")
  -endpoint value
        SquareScale endpoint (default https://www.jobourdon-dev.sqsc.io)
  -external-elasticsearch string
        Set the external ElasticSearch URL (default "")
  -hybrid-cluster-enabled
        Enable Hybrid Cluster (default false)
  -infra-type string
        Set the infrastructure configuration (high-availability or single-node) (default "high-availability")
  -monitoring string
        Set the monitoring configuration (netdata) (default "")
  -node-size string
        Set the cluster node size (default "")
  -nomad-basic-auth string
        Set Nomad Basic Authentication credentials (default "")
  -nomad-enabled
        Enable Nomad (default false)
  -nomad-ip-whitelist string
        Set Nomad IP whitelist (default "")
  -nomad-prefix string
        Set Nomad HTTP Prefix (default "")
  -nowait
        Don't wait for operation to complete (default false)
  -organization string
        set the organization the project will belongs to (default "")
  -project-name string
        Project name (default "")
  -provider string
        set the cloud provider (aws or azure or outscale) (default "")
  -region string
        set the cloud provider region (eu-west-1) (default "")
  -root-disk-size int
        Set the root filesystem size (in GB) (default 20)
  -slackbot string
        Set the Slack webhook URL (default "")
  -uuid string
        set the uuid of the project (default "")
  -vault-basic-auth string
        Set Vault Basic Authentication credentials (default "")
  -vault-enabled
        Enable Vault (default false)
  -vault-ip-whitelist string
        Set Vault IP whitelist (default "")
  -vault-prefix string
        Set Vault HTTP Prefix (default "")
  -yes
        Assume yes (default false)
obourdon commented 1 year ago

Seems like once https://github.com/squarescale/squarescale-cli/pull/153 gets merged the following will remain missing from project creation

obourdon commented 1 year ago

Fix in progress

obourdon commented 1 year ago

Fixed in https://github.com/squarescale/squarescale-cli/pull/159