We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695ffa5 commit fd83c28Copy full SHA for fd83c28
install/installer/pkg/components/public-api-server/objects.go
@@ -10,7 +10,7 @@ import (
10
"k8s.io/apimachinery/pkg/runtime"
11
)
12
13
-var Objects = common.RenderFunc(func(ctx *common.RenderContext) ([]runtime.Object, error) {
+func Objects(ctx *common.RenderContext) ([]runtime.Object, error) {
14
cfg := getExperimentalPublicAPIConfig(ctx)
15
if cfg == nil {
16
return nil, nil
@@ -22,7 +22,7 @@ var Objects = common.RenderFunc(func(ctx *common.RenderContext) ([]runtime.Objec
22
rolebinding,
23
common.DefaultServiceAccount(Component),
24
)(ctx)
25
-})
+}
26
27
func getExperimentalPublicAPIConfig(ctx *common.RenderContext) *experimental.PublicAPIConfig {
28
var experimentalCfg *experimental.Config
0 commit comments