You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cli/commands/rpkg/docs/docs.go
+2-12Lines changed: 2 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -76,25 +76,15 @@ Flags:
76
76
--workspace
77
77
The workspace name assigned to the new downstream package revision. The default value is v1.
78
78
79
-
--strategy
80
-
Update strategy that should be used when updating the new
81
-
package revision. Must be one of:
82
-
=resource-merge: (Default) Perform a structural comparison of the original
83
-
updated resources, and merge the changes into the local package.
84
-
=fast-forward: Fail without updating if the local package was modified since it was fetched.
85
-
=force-delete-replace: Wipe all the local changes to the package and replace
86
-
it with the remote version.
87
-
=copy-merge: Copy all the remote changes to the local package.
88
-
89
79
--secret-ref
90
80
Name of the secret containing basic authentication used to authenticate with the upstream repository (git-only).
91
81
Naturally, this secret has to exist in the kubernetes cluster and must be in the namespace
92
82
where the package revision is to be created.
93
83
`
94
84
varCloneExamples=`
95
85
# clone the 'example-repo.example-package-name.example-workspace' package and create a new package revision called
96
-
# 'example-package-name-2' in the 'example-repo-2' repository with a new workspace named 'example-workspace-2' and 'force-delete-replace' update strategy.
0 commit comments