@@ -559,7 +559,8 @@ func getComponents(rt *runtime.Runtime, opts *RuntimeInstallOptions) []string {
559
559
}
560
560
561
561
// should find a more dynamic way to get these additional components
562
- additionalComponents := []string {"events-reporter" , "workflow-reporter" , "rollout-reporter" }
562
+ // additionalComponents := []string{"events-reporter", "workflow-reporter", "rollout-reporter"}
563
+ additionalComponents := []string {"events-reporter" , "rollout-reporter" }
563
564
for _ , additionalComponentName := range additionalComponents {
564
565
componentFullName := fmt .Sprintf ("%s-%s" , opts .RuntimeName , additionalComponentName )
565
566
componentNames = append (componentNames , componentFullName )
@@ -1060,15 +1061,15 @@ func installComponents(ctx context.Context, opts *RuntimeInstallOptions, rt *run
1060
1061
1061
1062
// this will add `/workflows` suffix to the argo-server deployment
1062
1063
// we need this both in ingress and tunnel mode
1063
- if opts .shouldInstallIngress () && rt .Spec .IngressController != string (routingutil .IngressControllerALB ) || rt .Spec .AccessMode == platmodel .AccessModeTunnel {
1064
- if err = util .Retry (ctx , & util.RetryOptions {
1065
- Func : func () error {
1066
- return configureArgoWorkflows (ctx , opts , rt )
1067
- },
1068
- }); err != nil {
1069
- return fmt .Errorf ("failed to patch Argo Worfkflows configuration: %w" , err )
1070
- }
1071
- }
1064
+ // if opts.shouldInstallIngress() && rt.Spec.IngressController != string(routingutil.IngressControllerALB) || rt.Spec.AccessMode == platmodel.AccessModeTunnel {
1065
+ // if err = util.Retry(ctx, &util.RetryOptions{
1066
+ // Func: func() error {
1067
+ // return configureArgoWorkflows(ctx, opts, rt)
1068
+ // },
1069
+ // }); err != nil {
1070
+ // return fmt.Errorf("failed to patch Argo Worfkflows configuration: %w", err)
1071
+ // }
1072
+ // }
1072
1073
1073
1074
if err = util .Retry (ctx , & util.RetryOptions {
1074
1075
Func : func () error {
@@ -1082,21 +1083,21 @@ func installComponents(ctx context.Context, opts *RuntimeInstallOptions, rt *run
1082
1083
return fmt .Errorf ("failed to create events-reporter: %w" , err )
1083
1084
}
1084
1085
1085
- if err = createReporter (
1086
- ctx , opts .InsCloneOpts , opts , reporterCreateOptions {
1087
- reporterName : store .Get ().WorkflowReporterName ,
1088
- gvr : []gvr {
1089
- {
1090
- resourceName : store .Get ().WorkflowResourceName ,
1091
- group : "argoproj.io" ,
1092
- version : "v1alpha1" ,
1093
- },
1094
- },
1095
- saName : store .Get ().CodefreshSA ,
1096
- IsInternal : true ,
1097
- }); err != nil {
1098
- return fmt .Errorf ("failed to create workflows-reporter: %w" , err )
1099
- }
1086
+ // if err = createReporter(
1087
+ // ctx, opts.InsCloneOpts, opts, reporterCreateOptions{
1088
+ // reporterName: store.Get().WorkflowReporterName,
1089
+ // gvr: []gvr{
1090
+ // {
1091
+ // resourceName: store.Get().WorkflowResourceName,
1092
+ // group: "argoproj.io",
1093
+ // version: "v1alpha1",
1094
+ // },
1095
+ // },
1096
+ // saName: store.Get().CodefreshSA,
1097
+ // IsInternal: true,
1098
+ // }); err != nil {
1099
+ // return fmt.Errorf("failed to create workflows-reporter: %w", err)
1100
+ // }
1100
1101
1101
1102
if err = createReporter (ctx , opts .InsCloneOpts , opts , reporterCreateOptions {
1102
1103
reporterName : store .Get ().RolloutReporterName ,
0 commit comments