Skip to content

Commit 28ffc85

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
Add missing OpenShift Config API to runtime scheme
1 parent 65b8889 commit 28ffc85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ import (
4848
"sigs.k8s.io/controller-runtime/pkg/log/zap"
4949
"sigs.k8s.io/yaml"
5050

51+
configv1 "github.com/openshift/api/config/v1"
52+
5153
"github.com/project-codeflare/codeflare-operator/pkg/config"
5254
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
5355
// to ensure that exec-entrypoint and run can make use of them.
@@ -63,6 +65,7 @@ func init() {
6365
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
6466
utilruntime.Must(mcadv1beta1.AddToScheme(scheme))
6567
utilruntime.Must(quotasubtreev1.AddToScheme(scheme))
68+
utilruntime.Must(configv1.Install(scheme))
6669
}
6770

6871
func main() {

0 commit comments

Comments
 (0)