chore: Add gitops feature to changelog (#1190)

This commit is contained in:
David Simansky 2021-01-14 15:31:19 +01:00 committed by GitHub
parent f5ac4413d0
commit 7eb7ac3acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 6 deletions

View File

@ -112,6 +112,11 @@
| 🐛 | 🐛
| Embed the namespace in request body while creating channels | Embed the namespace in request body while creating channels
| https://github.com/knative/client/pull/1117[#1117] | https://github.com/knative/client/pull/1117[#1117]
| 🎁
| Add `--target` flag to support gitops mode (experimental)
| https://github.com/knative/client/pull/1122[#1122]
|=== |===
### v0.19.0 (2020-11-11) ### v0.19.0 (2020-11-11)

View File

@ -93,7 +93,7 @@ kn service create NAME --image IMAGE
--scale-max int Maximum number of replicas. --scale-max int Maximum number of replicas.
--scale-min int Minimum number of replicas. --scale-min int Minimum number of replicas.
--service-account string Service account name to set. An empty argument ("") clears the service account. The referenced service account must exist in the service's namespace. --service-account string Service account name to set. An empty argument ("") clears the service account. The referenced service account must exist in the service's namespace.
--target string work on local directory instead of a remote cluster --target string Work on local directory instead of a remote cluster (experimental)
--user int The user ID to run the container (e.g., 1001). --user int The user ID to run the container (e.g., 1001).
--volume stringArray Add a volume from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret: or sc:). Example: --volume myvolume=cm:myconfigmap or --volume myvolume=secret:mysecret. You can use this flag multiple times. To unset a ConfigMap/Secret reference, append "-" to the name, e.g. --volume myvolume-. --volume stringArray Add a volume from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret: or sc:). Example: --volume myvolume=cm:myconfigmap or --volume myvolume=secret:mysecret. You can use this flag multiple times. To unset a ConfigMap/Secret reference, append "-" to the name, e.g. --volume myvolume-.
--wait Wait for 'service create' operation to be completed. (default true) --wait Wait for 'service create' operation to be completed. (default true)

View File

@ -36,7 +36,7 @@ kn service delete NAME [NAME ...]
-h, --help help for delete -h, --help help for delete
-n, --namespace string Specify the namespace to operate in. -n, --namespace string Specify the namespace to operate in.
--no-wait Do not wait for 'service delete' operation to be completed. (default true) --no-wait Do not wait for 'service delete' operation to be completed. (default true)
--target string work on local directory instead of a remote cluster --target string Work on local directory instead of a remote cluster (experimental)
--wait Wait for 'service delete' operation to be completed. --wait Wait for 'service delete' operation to be completed.
--wait-timeout int Seconds to wait before giving up on waiting for service to be deleted. (default 600) --wait-timeout int Seconds to wait before giving up on waiting for service to be deleted. (default 600)
``` ```

View File

@ -36,7 +36,7 @@ kn service describe NAME
-h, --help help for describe -h, --help help for describe
-n, --namespace string Specify the namespace to operate in. -n, --namespace string Specify the namespace to operate in.
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file|url. -o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file|url.
--target string work on local directory instead of a remote cluster --target string Work on local directory instead of a remote cluster (experimental)
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. --template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
-v, --verbose More output. -v, --verbose More output.
``` ```

View File

@ -39,7 +39,7 @@ kn service list
-n, --namespace string Specify the namespace to operate in. -n, --namespace string Specify the namespace to operate in.
--no-headers When using the default output format, don't print headers (default: print headers). --no-headers When using the default output format, don't print headers (default: print headers).
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. -o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
--target string work on local directory instead of a remote cluster --target string Work on local directory instead of a remote cluster (experimental)
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. --template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
``` ```

View File

@ -77,7 +77,7 @@ kn service update NAME
--scale-min int Minimum number of replicas. --scale-min int Minimum number of replicas.
--service-account string Service account name to set. An empty argument ("") clears the service account. The referenced service account must exist in the service's namespace. --service-account string Service account name to set. An empty argument ("") clears the service account. The referenced service account must exist in the service's namespace.
--tag strings Set tag (format: --tag revisionRef=tagName) where revisionRef can be a revision or '@latest' string representing latest ready revision. This flag can be specified multiple times. --tag strings Set tag (format: --tag revisionRef=tagName) where revisionRef can be a revision or '@latest' string representing latest ready revision. This flag can be specified multiple times.
--target string work on local directory instead of a remote cluster --target string Work on local directory instead of a remote cluster (experimental)
--traffic strings Set traffic distribution (format: --traffic revisionRef=percent) where revisionRef can be a revision or a tag or '@latest' string representing latest ready revision. This flag can be given multiple times with percent summing up to 100%. --traffic strings Set traffic distribution (format: --traffic revisionRef=percent) where revisionRef can be a revision or a tag or '@latest' string representing latest ready revision. This flag can be given multiple times with percent summing up to 100%.
--untag strings Untag revision (format: --untag tagName). This flag can be specified multiple times. --untag strings Untag revision (format: --untag tagName). This flag can be specified multiple times.
--user int The user ID to run the container (e.g., 1001). --user int The user ID to run the container (e.g., 1001).

View File

@ -117,5 +117,5 @@ func TranslateTimestampSince(timestamp metav1.Time) string {
// AddGitOpsFlags adds flags to enable gitops mode // AddGitOpsFlags adds flags to enable gitops mode
func AddGitOpsFlags(flags *pflag.FlagSet) { func AddGitOpsFlags(flags *pflag.FlagSet) {
flags.String("target", "", "work on local directory instead of a remote cluster") flags.String("target", "", "Work on local directory instead of a remote cluster (experimental)")
} }