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
cmd.Flags().BoolVar(&runner.Reinstall, "reinstall", false, "Specify to force reinstallation of Radius")
78
+
78
79
cmd.Flags().StringVar(&runner.Chart, "chart", "", "Specify a file path to a helm chart to install Radius from")
79
80
cmd.Flags().StringArrayVar(&runner.Set, "set", []string{}, "Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
80
81
cmd.Flags().StringArrayVar(&runner.SetFile, "set-file", []string{}, "Set values from files on the command line (can specify multiple or separate files with commas: key1=filename1,key2=filename2)")
81
82
83
+
cmd.Flags().StringVar(&runner.ContourChart, "contour-chart", "", "Specify a local file path to a helm chart to install Contour from")
84
+
cmd.Flags().StringArrayVar(&runner.ContourSet, "contour-set", []string{}, "Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
85
+
cmd.Flags().StringArrayVar(&runner.ContourSetFile, "contour-set-file", []string{}, "Set values from files on the command line (can specify multiple or separate files with commas: key1=filename1,key2=filename2)")
86
+
87
+
cmd.Flags().StringVar(&runner.DaprChart, "dapr-chart", "", "Specify a local file path to a helm chart to install Dapr from")
88
+
cmd.Flags().StringArrayVar(&runner.DaprSet, "dapr-set", []string{}, "Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
89
+
cmd.Flags().StringArrayVar(&runner.DaprSetFile, "dapr-set-file", []string{}, "Set values from files on the command line (can specify multiple or separate files with commas: key1=filename1,key2=filename2)")
90
+
82
91
returncmd, runner
83
92
}
84
93
@@ -88,10 +97,23 @@ type Runner struct {
88
97
Output output.Interface
89
98
90
99
KubeContextstring
91
-
Chartstring
92
-
Reinstallbool
93
-
Set []string
94
-
SetFile []string
100
+
101
+
// Radius
102
+
Chartstring
103
+
Set []string
104
+
SetFile []string
105
+
106
+
// Contour
107
+
ContourChartstring
108
+
ContourSet []string
109
+
ContourSetFile []string
110
+
111
+
// Dapr
112
+
DaprChartstring
113
+
DaprSet []string
114
+
DaprSetFile []string
115
+
116
+
Reinstallbool
95
117
}
96
118
97
119
// NewRunner creates an instance of the runner for the `rad install kubernetes` command.
0 commit comments