File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import (
33
33
"github.com/flant/shell-operator/pkg/hook/controller"
34
34
htypes "github.com/flant/shell-operator/pkg/hook/types"
35
35
"github.com/flant/shell-operator/pkg/kube_events_manager/types"
36
+ "github.com/flant/shell-operator/pkg/metric_storage"
36
37
shell_operator "github.com/flant/shell-operator/pkg/shell-operator"
37
38
sh_task "github.com/flant/shell-operator/pkg/task"
38
39
"github.com/flant/shell-operator/pkg/task/queue"
@@ -69,6 +70,8 @@ type AddonOperator struct {
69
70
70
71
// AdmissionServer handles validation and mutation admission webhooks
71
72
AdmissionServer * AdmissionServer
73
+
74
+ MetricStorage * metric_storage.MetricStorage
72
75
}
73
76
74
77
func NewAddonOperator (ctx context.Context ) * AddonOperator {
@@ -100,6 +103,7 @@ func NewAddonOperator(ctx context.Context) *AddonOperator {
100
103
engine : so ,
101
104
ConvergeState : converge .NewConvergeState (),
102
105
runtimeConfig : rc ,
106
+ MetricStorage : so .MetricStorage ,
103
107
}
104
108
105
109
ao .AdmissionServer = NewAdmissionServer (app .AdmissionServerListenPort , app .AdmissionServerCertsDir )
You can’t perform that action at this time.
0 commit comments