Skip to content

Commit e175379

Browse files
committed
Add OM output-resources command stub
Generated with Claude Code
1 parent 020ebf6 commit e175379

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cmd/cluster-kube-controller-manager-operator/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ func NewSSCSCommand(ctx context.Context) *cobra.Command {
4747
cmd.AddCommand(certsyncpod.NewCertSyncControllerCommand(operator.CertConfigMaps, operator.CertSecrets))
4848
cmd.AddCommand(recoverycontroller.NewCertRecoveryControllerCommand(ctx))
4949
cmd.AddCommand(mom.NewInputResourcesCommand(ioStreams))
50+
cmd.AddCommand(mom.NewOutputResourcesCommand(ioStreams))
5051

5152
return cmd
5253
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package mom
2+
3+
import (
4+
"github.com/openshift/multi-operator-manager/pkg/library/libraryoutputresources"
5+
"github.com/spf13/cobra"
6+
"k8s.io/cli-runtime/pkg/genericiooptions"
7+
)
8+
9+
func NewOutputResourcesCommand(streams genericiooptions.IOStreams) *cobra.Command {
10+
return libraryoutputresources.NewOutputResourcesCommand(runOutputResources, streams)
11+
}

0 commit comments

Comments
 (0)