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
Short: "Add a workload repository to a wego cluster",
26
26
Long: strings.TrimSpace(dedent.Dedent(`
27
-
Associates an additional git repository with a wego cluster so that its contents may be managed via GitOps
27
+
Associates an additional application in a git repository with a wego cluster so that its contents may be managed via GitOps
28
28
`)),
29
29
Example: "wego add .",
30
30
Run: runCmd,
@@ -33,13 +33,14 @@ var Cmd = &cobra.Command{
33
33
funcinit() {
34
34
Cmd.Flags().StringVar(¶ms.Owner, "owner", "", "Owner of remote git repository")
35
35
Cmd.Flags().StringVar(¶ms.Name, "name", "", "Name of remote git repository")
36
-
Cmd.Flags().StringVar(¶ms.Url, "url", "", "URL of remote git repository")
36
+
Cmd.Flags().StringVar(¶ms.Url, "url", "", "URL of remote repository")
37
37
Cmd.Flags().StringVar(¶ms.Path, "path", "./", "Path of files within git repository")
38
38
Cmd.Flags().StringVar(¶ms.Branch, "branch", "main", "Branch to watch within git repository")
39
39
Cmd.Flags().StringVar(¶ms.DeploymentType, "deployment-type", "kustomize", "deployment type [kustomize, helm]")
40
+
Cmd.Flags().StringVar(¶ms.Chart, "chart", "", "Specify chart for helm source")
40
41
Cmd.Flags().StringVar(¶ms.PrivateKey, "private-key", filepath.Join(os.Getenv("HOME"), ".ssh", "id_rsa"), "Private key that provides access to git repository")
42
+
Cmd.Flags().StringVar(¶ms.AppConfigUrl, "app-config-url", "", "URL of external repository (if any) which will hold automation manifests; NONE to store only in the cluster")
41
43
Cmd.Flags().BoolVar(¶ms.DryRun, "dry-run", false, "If set, 'wego add' will not make any changes to the system; it will just display the actions that would have been taken")
42
-
Cmd.Flags().BoolVar(¶ms.IsPrivate, "private", true, "Set access control on the repo")
0 commit comments