@@ -358,11 +358,11 @@ func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error {
358
358
359
359
log .G (ctx ).WithField ("version" , rt .Spec .Version ).Infof ("Installing runtime '%s'" , opts .RuntimeName )
360
360
err = apcmd .RunRepoBootstrap (ctx , & apcmd.RepoBootstrapOptions {
361
- AppSpecifier : rt .Spec .FullSpecifier (),
361
+ AppSpecifier : rt .Spec .FullSpecifier (),
362
362
Namespace : opts .RuntimeName ,
363
363
KubeFactory : opts .KubeFactory ,
364
364
CloneOptions : opts .InsCloneOpts ,
365
- Insecure : opts .Insecure ,
365
+ Insecure : opts .Insecure ,
366
366
KubeContextName : opts .kubeContext ,
367
367
ArgoCDLabels : map [string ]string {
368
368
store .Get ().LabelKeyCFType : store .Get ().CFComponentType ,
@@ -1085,12 +1085,10 @@ func configureAppProxy(ctx context.Context, opts *RuntimeInstallOptions, rt *run
1085
1085
}
1086
1086
1087
1087
literalResources := []string {
1088
- fmt .Sprintf ("cfHost=%s" , cfConfig .GetCurrentContext ().URL ),
1089
1088
"argoWorkflowsInsecure=true" ,
1090
- }
1091
-
1092
- if cfConfig .GetCurrentContext ().IsProduction () {
1093
- literalResources = append (literalResources , "env=production" )
1089
+ fmt .Sprintf ("cfHost=%s" , cfConfig .GetCurrentContext ().URL ),
1090
+ fmt .Sprintf ("cors=%s" , cfConfig .GetCurrentContext ().URL ),
1091
+ "env=production" ,
1094
1092
}
1095
1093
1096
1094
// configure codefresh host
@@ -1110,7 +1108,7 @@ func configureAppProxy(ctx context.Context, opts *RuntimeInstallOptions, rt *run
1110
1108
Namespace : rt .Namespace ,
1111
1109
Paths : []ingressutil.IngressPath {
1112
1110
{
1113
- Path : fmt .Sprintf ("/%s/ " , store .Get ().AppProxyIngressPath ),
1111
+ Path : fmt .Sprintf ("/%s" , store .Get ().AppProxyIngressPath ),
1114
1112
PathType : netv1 .PathTypeImplementationSpecific ,
1115
1113
ServiceName : store .Get ().AppProxyServiceName ,
1116
1114
ServicePort : store .Get ().AppProxyServicePort ,
0 commit comments