This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 7d765c4 Daniil Stepanenko
committed Feb 20, 2024 · 8 / 8
1 parent 176cc94 commit 7d765c4 Copy full SHA for 7d765c4
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 @@ -32,6 +32,7 @@ import (
32
32
"github.com/flant/shell-operator/pkg/hook/controller"
33
33
htypes "github.com/flant/shell-operator/pkg/hook/types"
34
34
"github.com/flant/shell-operator/pkg/kube_events_manager/types"
35
+ "github.com/flant/shell-operator/pkg/metric_storage"
35
36
shell_operator "github.com/flant/shell-operator/pkg/shell-operator"
36
37
sh_task "github.com/flant/shell-operator/pkg/task"
37
38
"github.com/flant/shell-operator/pkg/task/queue"
@@ -68,6 +69,8 @@ type AddonOperator struct {
68
69
69
70
// AdmissionServer handles validation and mutation admission webhooks
70
71
AdmissionServer * AdmissionServer
72
+
73
+ MetricStorage * metric_storage.MetricStorage
71
74
}
72
75
73
76
func NewAddonOperator (ctx context.Context ) * AddonOperator {
@@ -99,6 +102,7 @@ func NewAddonOperator(ctx context.Context) *AddonOperator {
99
102
engine : so ,
100
103
ConvergeState : NewConvergeState (),
101
104
runtimeConfig : rc ,
105
+ MetricStorage : so .MetricStorage ,
102
106
}
103
107
104
108
ao .AdmissionServer = NewAdmissionServer (app .AdmissionServerListenPort , app .AdmissionServerCertsDir )
You can’t perform that action at this time.
0 commit comments