Fix CLI format and plugin settings in docs (#1390)

This commit is contained in:
qwerty287 2022-11-02 18:02:41 +01:00 committed by GitHub
parent 07b143864a
commit ee9269d658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -47,7 +47,7 @@ func repoInfo(c *cli.Context) error {
// template for repo information
var tmplRepoInfo = `Owner: {{ .Owner }}
Repo: {{ .Name }}
Type: {{ .SCMKind }}
Type: {{ .Kind }}
Config: {{ .Config }}
Visibility: {{ .Visibility }}
Private: {{ .IsSCMPrivate }}

View file

@ -81,7 +81,8 @@ kubectl apply -f $PLUGIN_TEMPLATE
pipeline:
deploy-to-k8s:
image: laszlocloud/my-k8s-plugin
template: config/k8s/service.yml
settings:
template: config/k8s/service.yml
```
See [plugin docs](./20-usage/51-plugins/10-plugins.md).