Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
Merged
82 changes: 82 additions & 0 deletions src/commands/service/create.decorator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"command": "create <service-name>",
"alias": "c",
"description": "Add a new service into this initialized spk project repository",
"options": [
{
"arg": "-c, --helm-chart-chart <helm-chart>",
"description": "bedrock helm chart name. --helm-chart-* and --helm-config-* are exclusive; you may only use one.",
"defaultValue": ""
},
{
"arg": "-r, --helm-chart-repository <helm-repository>",
"description": "bedrock helm chart repository. --helm-chart-* and --helm-config-* are exclusive; you may only use one.",
"defaultValue": ""
},
{
"arg": "-b, --helm-config-branch <helm-branch>",
"description": "bedrock custom helm chart configuration branch. --helm-chart-* and --helm-config-* are exclusive; you may only use one.",
"defaultValue": ""
},
{
"arg": "-p, --helm-config-path <helm-path>",
"description": "bedrock custom helm chart configuration path. --helm-chart-* and --helm-config-* are exclusive; you may only use one.",
"defaultValue": ""
},
{
"arg": "-g, --helm-config-git <helm-git>",
"description": "bedrock helm chart configuration git repository. --helm-chart-* and --helm-config-* are exclusive; you may only use one.",
"defaultValue": ""
},
{
"arg": "-d, --packages-dir <dir>",
"description": "The directory containing the mono-repo packages.",
"defaultValue": ""
},
{
"arg": "-n, --display-name <display-name>",
"description": "Display name of the service.",
"defaultValue": ""
},
{
"arg": "-m, --maintainer-name <maintainer-name>",
"description": "The name of the primary maintainer for this service.",
"defaultValue": "maintainer name"
},
{
"arg": "-e, --maintainer-email <maintainer-email>",
"description": "The email of the primary maintainer for this service.",
"defaultValue": "maintainer email"
},
{
"arg": "--git-push",
"description": "SPK CLI will try to commit and push these changes to a new origin/branch named after the service.",
"defaultValue": false
},
{
"arg": "--middlewares <comma-delimitated-list-of-middleware-names>",
"description": "Traefik2 middlewares you wish to to be injected into your Traefik2 IngressRoutes",
"defaultValue": ""
},
{
"arg": "--k8s-backend-port <port>",
"description": "Kubernetes service port which this service is exposed with; will be used to configure Traefik2 IngressRoutes",
"defaultValue": "80"
},
{
"arg": "--k8s-backend <backend>",
"description": "Kubernetes backend service name; will be used to configure Traefik2 IngressRoutes",
"defaultValue": ""
},
{
"arg": "--path-prefix <path-prefix>",
"description": "The path prefix for ingress route; will be used to configure Traefik2 IngressRoutes. If omitted, then the service name will used.",
"defaultValue": ""
},
{
"arg": "--path-prefix-major-version <path-prefix-major-version>",
"description": "Version to be used in the path prefix; will be used to configure Traefik2 IngressRoutes. ie. 'v1' will result in a path prefix of '/v1/servicename",
"defaultValue": ""
}
]
}
Loading