Skip to content

Commit

Permalink
update --help URL
Browse files Browse the repository at this point in the history
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
  • Loading branch information
jjcollinge committed Jun 2, 2022
1 parent 458a95d commit 8ea53f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/annotate.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ var AnnotateCmd = &cobra.Command{
kubectl get deploy -l app=node -o yaml | dapr annotate - | kubectl apply -f -
# Annotate multiple deployments by name in a chain
kubectl get deploy -o yaml | dapr annotate -r nodeapp - | dapr annotate -r pythonapp | kubectl apply -f -
kubectl get deploy -o yaml | dapr annotate -r nodeapp - | dapr annotate -r pythonapp - | kubectl apply -f -
# Annotate deployment in a specific namespace from file or directory by name
dapr annotate -r nodeapp -n namespace mydeployment.yml | kubectl apply -f -
dapr annotate -r nodeapp -n namespace mydeploy.yaml | kubectl apply -f -
# Annotate deployment from url by name
dapr annotate -r nodeapp --log-level debug https://raw.githubusercontent.com/dapr/quickstarts/master/hello-kubernetes/deploy/node.yaml | kubectl apply -f -
dapr annotate -r nodeapp --log-level debug https://raw.githubusercontent.com/dapr/quickstarts/master/tutorials/hello-kubernetes/deploy/node.yaml | kubectl apply -f -
--------------------------------------------------------------------------------
WARNING: If an app id is not provided, we will generate one using the format '<namespace>-<kind>-<name>'.
Expand Down

0 comments on commit 8ea53f6

Please sign in to comment.