Skip to content

Commit

Permalink
controllers: add APIs to status reporter scheme
Browse files Browse the repository at this point in the history
- ClusterVersion and ClusterServiceVersion APIs addition to scheme is
missing in status reporter job

Signed-off-by: Leela Venkaiah G <[email protected]>
  • Loading branch information
leelavg committed Nov 2, 2023
1 parent 79770f7 commit 0ccd859
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/status-report/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ func main() {
klog.Exitf("Failed to add client-go to scheme: %v", err)
}

if err := opv1a1.AddToScheme(scheme); err != nil {
klog.Exitf("Failed to add opv1a1 to scheme: %v", err)
}

if err := configv1.AddToScheme(scheme); err != nil {
klog.Exitf("Failed to add configv1 to scheme: %v", err)
}

config, err := config.GetConfig()
if err != nil {
klog.Exitf("Failed to get config: %v", err)
Expand Down

0 comments on commit 0ccd859

Please sign in to comment.