Skip to content

Commit

Permalink
add more wording to usage help
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuho committed Jan 15, 2019
1 parent 61b6440 commit 756413f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/capctl/app/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ const (
如果 registry 需要登入, 可以傳入 '--reg-*' 開頭的 flags 指定 docker registry 的認證資訊
$ {{.}} pull CHART... --reg-user ME --reg-pass SECRET
如果需要在 pull 前修改 values.yaml 中任何參數, 可以傳入 '--set key1=val1,key2=val2'
$ {{.}} pull CHART... --set ingress.enabled=true
`
)

Expand Down
4 changes: 4 additions & 0 deletions cmd/capctl/app/save.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ const (
傳入 '--force' 可以強制複寫已存在的 output 檔案
$ {{.}} save CHART... -o OUTPUT.tar -f
如果需要在 save 前修改 values.yaml 中任何參數, 可以傳入 '--set key1=val1,key2=val2'
$ {{.}} save CHART... --set ingress.enabled=true
`
)

Expand Down
4 changes: 4 additions & 0 deletions cmd/capctl/app/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ flags 可以自由的混搭使用, 你也可以使用 '>' 再將產生的 script
結合 '--diff' 可以只產生差異 image 的 script
$ {{.}} script CHART ANOTHER_CHART -e CAPTAIN_ENDPOINT -prsld
如果需要在產生 script 前修改 values.yaml 中任何參數, 可以傳入 '--set key1=val1,key2=val2'
$ {{.}} script CHART... -e CAPTAIN_ENDPOINT --set ingress.enabled=true
`
)

Expand Down

0 comments on commit 756413f

Please sign in to comment.