|
| 1 | +{ |
| 2 | + "command": "create <service-name>", |
| 3 | + "alias": "c", |
| 4 | + "description": "Add a new service into this initialized spk project repository", |
| 5 | + "options": [ |
| 6 | + { |
| 7 | + "arg": "-c, --helm-chart-chart <helm-chart>", |
| 8 | + "description": "bedrock helm chart name. --helm-chart-* and --helm-config-* are exclusive; you may only use one.", |
| 9 | + "defaultValue": "" |
| 10 | + }, |
| 11 | + { |
| 12 | + "arg": "-r, --helm-chart-repository <helm-repository>", |
| 13 | + "description": "bedrock helm chart repository. --helm-chart-* and --helm-config-* are exclusive; you may only use one.", |
| 14 | + "defaultValue": "" |
| 15 | + }, |
| 16 | + { |
| 17 | + "arg": "-b, --helm-config-branch <helm-branch>", |
| 18 | + "description": "bedrock custom helm chart configuration branch. --helm-chart-* and --helm-config-* are exclusive; you may only use one.", |
| 19 | + "defaultValue": "" |
| 20 | + }, |
| 21 | + { |
| 22 | + "arg": "-p, --helm-config-path <helm-path>", |
| 23 | + "description": "bedrock custom helm chart configuration path. --helm-chart-* and --helm-config-* are exclusive; you may only use one.", |
| 24 | + "defaultValue": "" |
| 25 | + }, |
| 26 | + { |
| 27 | + "arg": "-g, --helm-config-git <helm-git>", |
| 28 | + "description": "bedrock helm chart configuration git repository. --helm-chart-* and --helm-config-* are exclusive; you may only use one.", |
| 29 | + "defaultValue": "" |
| 30 | + }, |
| 31 | + { |
| 32 | + "arg": "-d, --packages-dir <dir>", |
| 33 | + "description": "The directory containing the mono-repo packages.", |
| 34 | + "defaultValue": "" |
| 35 | + }, |
| 36 | + { |
| 37 | + "arg": "-n, --display-name <display-name>", |
| 38 | + "description": "Display name of the service.", |
| 39 | + "defaultValue": "" |
| 40 | + }, |
| 41 | + { |
| 42 | + "arg": "-m, --maintainer-name <maintainer-name>", |
| 43 | + "description": "The name of the primary maintainer for this service.", |
| 44 | + "defaultValue": "maintainer name" |
| 45 | + }, |
| 46 | + { |
| 47 | + "arg": "-e, --maintainer-email <maintainer-email>", |
| 48 | + "description": "The email of the primary maintainer for this service.", |
| 49 | + "defaultValue": "maintainer email" |
| 50 | + }, |
| 51 | + { |
| 52 | + "arg": "--git-push", |
| 53 | + "description": "SPK CLI will try to commit and push these changes to a new origin/branch named after the service.", |
| 54 | + "defaultValue": false |
| 55 | + }, |
| 56 | + { |
| 57 | + "arg": "--middlewares <comma-delimitated-list-of-middleware-names>", |
| 58 | + "description": "Traefik2 middlewares you wish to to be injected into your Traefik2 IngressRoutes", |
| 59 | + "defaultValue": "" |
| 60 | + }, |
| 61 | + { |
| 62 | + "arg": "--k8s-backend-port <port>", |
| 63 | + "description": "Kubernetes service port which this service is exposed with; will be used to configure Traefik2 IngressRoutes", |
| 64 | + "defaultValue": "80" |
| 65 | + }, |
| 66 | + { |
| 67 | + "arg": "--k8s-backend <backend>", |
| 68 | + "description": "Kubernetes backend service name; will be used to configure Traefik2 IngressRoutes", |
| 69 | + "defaultValue": "" |
| 70 | + }, |
| 71 | + { |
| 72 | + "arg": "--path-prefix <path-prefix>", |
| 73 | + "description": "The path prefix for ingress route; will be used to configure Traefik2 IngressRoutes. If omitted, then the service name will used.", |
| 74 | + "defaultValue": "" |
| 75 | + }, |
| 76 | + { |
| 77 | + "arg": "--path-prefix-major-version <path-prefix-major-version>", |
| 78 | + "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", |
| 79 | + "defaultValue": "" |
| 80 | + } |
| 81 | + ] |
| 82 | +} |
0 commit comments