Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Phelan committed Sep 7, 2022
1 parent 1a357c8 commit 5bf6f4a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/kp_image_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ For each environment variable, supply the "--env" flag followed by the key value
For example, "--env key1=value1 --env key2=value2 ...".

Service bindings may be provided by using the "--service-binding" flag.
For each service binding, supply the "--service-binding" flag followed by the <KIND>/<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding Secret/v1:my-secret-2 --service-binding CustomProvisionedService/v1beta1:my-ps"
For each service binding, supply the "--service-binding" flag followed by the <KIND>:<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding Secret:v1:my-secret-2 --service-binding CustomProvisionedService:v1beta1:my-ps"

```
kp image create <name> --tag <tag> [flags]
Expand All @@ -39,7 +39,7 @@ kp image create my-image --tag my-registry.com/my-repo --blob https://my-blob-ho
kp image create my-image --tag my-registry.com/my-repo --local-path /path/to/local/source/code
kp image create my-image --tag my-registry.com/my-repo --local-path /path/to/local/source/code --builder my-builder -n my-namespace
kp image create my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --env foo=bar --env color=red --env food=apple
kp image create my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret-1 --service-binding Secret/v1:my-secret-2 --service-binding CustomProvisionedService/v1beta1:my-ps
kp image create my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret-1 --service-binding Secret:v1:my-secret-2 --service-binding CustomProvisionedService:v1beta1:my-ps
```

### Options
Expand Down
6 changes: 3 additions & 3 deletions docs/kp_image_patch.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ For each environment variable, supply the "--env" flag followed by the key value
For example, "--env key1=value1 --env key2=value2 --delete-env key3 --delete-env key3".

Service bindings may be provided by using the "--service-binding" flag or deleted by using the "--delete-service-binding" flag.
For each service binding, supply the "--service-binding" flag followed by the <KIND>/<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService/v1beta1:my-ps" --delete-service-binding Secret/v1:my-secret-2
For each service binding, supply the "--service-binding" flag followed by the <KIND>:<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService:v1beta1:my-ps" --delete-service-binding Secret:v1:my-secret-2

The --cache-size flag can only be used to increase the size of the existing cache.

Expand All @@ -41,7 +41,7 @@ kp image patch my-image --blob https://my-blob-host.com/my-blob
kp image patch my-image --local-path /path/to/local/source/code
kp image patch my-image --local-path /path/to/local/source/code --builder my-builder
kp image patch my-image --env foo=bar --env color=red --delete-env apple --delete-env potato
kp image patch my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret --service-binding CustomProvisionedService/v1:my-ps --delete-service-binding my-secret-2
kp image patch my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret --service-binding CustomProvisionedService:v1:my-ps --delete-service-binding Secret:v1:my-secret-2
```

### Options
Expand Down
7 changes: 4 additions & 3 deletions docs/kp_image_save.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ For each environment variable, supply the "--env" flag followed by the key value
For example, "--env key1=value1 --env key2=value2 --delete-env key3".

Service bindings may be provided by using the "--service-binding" flag or deleted by using the "--delete-service-binding" flag.
For each service binding, supply the "--service-binding" flag followed by the <KIND>/<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService/v1beta1:my-ps --delete-service-binding Secret/v1:my-secret-2"
For each service binding, supply the "--service-binding" flag followed by the <KIND>:<APIVERSION>:<NAME> or just <NAME> which will default the kind to "Secret".
For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService:v1beta1:my-ps --delete-service-binding Secret:v1:my-secret-2"


```
kp image save <name> --tag <tag> [flags]
Expand All @@ -41,7 +42,7 @@ kp image save my-image --tag my-registry.com/my-repo --blob https://my-blob-host
kp image save my-image --tag my-registry.com/my-repo --local-path /path/to/local/source/code
kp image save my-image --tag my-registry.com/my-repo --local-path /path/to/local/source/code --builder my-builder -n my-namespace
kp image save my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --env foo=bar --env color=red --env food=apple --delete-env apple --delete-env potato
kp image save my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret --service-binding CustomProvisionedService/v1:my-ps --delete-service-binding my-secret-2
kp image save my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob --service-binding my-secret --service-binding CustomProvisionedService:v1:my-ps --delete-service-binding Secret:v1:my-secret-2
```

### Options
Expand Down

0 comments on commit 5bf6f4a

Please sign in to comment.