This repository was archived by the owner on Apr 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 22
33Add a new service into this initialized spk project repository.
44
5+ ## Example
6+
7+ ``` bash
8+ spk service create . \
9+ --display-name $app_name \
10+ --helm-config-path $path_to_chart_in_repo \
11+ --helm-config-git $helm_repo_url \ # Needs to start with https and not contain user name
12+ --helm-config-branch master \
13+ --helm-chart-access-token-variable $ENV_VAR_NAME
14+ ```
15+
516## Note
617
718- ` --helm-chart-* ` and ` --helm-config-* ` settings are exclusive. ** You may only
@@ -10,13 +21,11 @@ Add a new service into this initialized spk project repository.
1021 repository, you can specify an environment variable in your
1122 HLD-to-Materialized pipeline containing your a PAT to authenticate with via
1223 the ` --helm-chart-access-token-variable ` option.
13- - For more information, checkout the
14- [ git authentication guide] ( ../../../guides/auth-private-helm-repos.md )
1524- ` --middlewares ` , ` --k8s-backend-port ` , ` --path-prefix ` ,
1625 ` --path-prefix-major-version ` , and ` --k8s-backend ` are all used to configure
1726 the generated Traefik2 IngressRoutes. ie.
1827 ``` sh
19- spk service create my-example-documents-service
28+ spk service create my-example-documents-service \
2029 --middlewares middleware \
2130 --k8s-backend-port 3001 \
2231 --k8s-backend docs-service \
You can’t perform that action at this time.
0 commit comments