@@ -46,6 +46,8 @@ func MakeInstallOpenFaaS() *cobra.Command {
46
46
openfaas .Flags ().Int ("queue-workers" , 1 , "Replicas of queue-worker" )
47
47
openfaas .Flags ().Int ("gateways" , 1 , "Replicas of gateway" )
48
48
49
+ openfaas .Flags ().Bool ("ingress-operator" , false , "Get custom domains and Ingress records via the ingress-operator component" )
50
+
49
51
openfaas .Flags ().Bool ("helm3" , true , "Use helm3, if set to false uses helm2" )
50
52
51
53
openfaas .Flags ().StringArray ("set" , []string {}, "Use custom flags or override existing flags \n (example --set=gateway.replicas=2)" )
@@ -178,6 +180,8 @@ func MakeInstallOpenFaaS() *cobra.Command {
178
180
gateways , _ := command .Flags ().GetInt ("gateways" )
179
181
queueWorkers , _ := command .Flags ().GetInt ("queue-workers" )
180
182
183
+ ingressOperator , _ := command .Flags ().GetBool ("ingress-operator" )
184
+
181
185
overrides ["clusterRole" ] = clusterRoleVal
182
186
overrides ["gateway.directFunctions" ] = directFunctionsVal
183
187
overrides ["operator.create" ] = createOperatorVal
@@ -186,6 +190,7 @@ func MakeInstallOpenFaaS() *cobra.Command {
186
190
overrides ["basicAuthPlugin.replicas" ] = "1"
187
191
overrides ["gateway.replicas" ] = fmt .Sprintf ("%d" , gateways )
188
192
overrides ["queueWorker.replicas" ] = fmt .Sprintf ("%d" , queueWorkers )
193
+ overrides ["ingressOperator.create" ] = strconv .FormatBool (ingressOperator )
189
194
190
195
basicAuth , _ := command .Flags ().GetBool ("basic-auth" )
191
196
0 commit comments