-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Much of the content in https://github.com/openshift/installer/blob/master/pkg/types/installconfig.go#L23 should be moved to specific config.openshift.io types.
For example
Platformshould move to https://github.com/openshift/api/blob/master/config/v1/types_infrastructure.go#L27 so we can see the cloud information and a secret refNetworkingshould move to https://github.com/openshift/api/blob/master/config/v1/types_network.go#L29
This doesn't necessarily mean that we have to remove the oc get cm -nkube-system cluster-config-v1 -oyaml, but operators should consume the the information from the source of truth.
I see at least one option for achieving this, but I'm open to other suggestions as well.
- perhaps there could be to be a renderer that creates these installer driven types from config.openshift.io (as distinct from add-ons like images or oauth). That, in combination with placing them in a CVO payload would allow both initial provisioning and future maintenance.
/assign @crawford @abhinavdahiya
@openshift/api-review for where bits move
@jwforres @derekwaynecarr fyi
@ironcladlou @squeed fyi since you both deal with the first two I saw.
Metadata
Metadata
Assignees
Labels
No labels