You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
provide cluster-config in config.openshift.io #680
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.
Shouldn't the config information be in InfrastructureSpec and NetworkSpec? From a few lines up:
// spec holds user settable values for configurationSpecNetworkSpec`json:"spec"`// status holds observed values from the cluster. They may not be overridden.StatusNetworkStatus`json:"status"`
Do you also want to push the platform-specific sub-structures over to the API repo? That might make rolling out new platforms or iterating on them more complicated (two repos to touch while you work out installer issues for the new platform). Should these structures incubate in the installer and then be frozen out into the API repo when they're stable on new platforms and ready for out-of-installer consumers?
Yes. We expect openshift/api to be the source of truth for operators running on cluster.
Should these APIs incubate in the installer and then be frozen out into the API repo when they're stable on new platforms and ready for out-of-installer consumers?
We have dependencies growing on this now. We need to provide these as soon as is practical.
#717 was a step in this direction. Once we get the config pushed out into custom resources and transition consumers, I think we should drop cluster-config-v1 to avoid confusing cluster admins.
And once we drop cluster-config-v1, we should think about dropping the InstallConfig type completely. The trade off for an installer-only InstallConfig type is pro "isolates openshift-install callers from config.openshift.io resource evolution" vs. con "gives openshift-install callers one more layer of indirection to wrap their heads around". Do we have guesses about how fluxy we expect these custom resources to be? Do we have guesses about how much flux callers will accept? CC @csrwng and @dgoodwin on the Hive side, since they'd be replacing their install-config injection with a few custom-resource injections if we decide to remove the indirection.
we should think about dropping the InstallConfig type completely.
The installer still needs a single object to drive its creation. why would we drop InstallConfig?
InstallConfig type's purpose is to be the smallest configuration to create cluster.
The purpose of config.openshift.io is to be complete configuration.
Activity
jwforres commentedon Nov 15, 2018
cc @bparees since i think this what you'll want to follow re: the final home for the cloud provider and cloud creds
wking commentedon Nov 15, 2018
Shouldn't the config information be in
InfrastructureSpecandNetworkSpec? From a few lines up:Do you also want to push the platform-specific sub-structures over to the API repo? That might make rolling out new platforms or iterating on them more complicated (two repos to touch while you work out installer issues for the new platform). Should these structures incubate in the installer and then be frozen out into the API repo when they're stable on new platforms and ready for out-of-installer consumers?
deads2k commentedon Nov 15, 2018
Yes. We expect openshift/api to be the source of truth for operators running on cluster.
We have dependencies growing on this now. We need to provide these as soon as is practical.
wking commentedon Nov 28, 2018
#717 was a step in this direction. Once we get the config pushed out into custom resources and transition consumers, I think we should drop
cluster-config-v1to avoid confusing cluster admins.And once we drop
cluster-config-v1, we should think about dropping theInstallConfigtype completely. The trade off for an installer-onlyInstallConfigtype is pro "isolatesopenshift-installcallers fromconfig.openshift.ioresource evolution" vs. con "givesopenshift-installcallers one more layer of indirection to wrap their heads around". Do we have guesses about how fluxy we expect these custom resources to be? Do we have guesses about how much flux callers will accept? CC @csrwng and @dgoodwin on the Hive side, since they'd be replacing their install-config injection with a few custom-resource injections if we decide to remove the indirection.abhinavdahiya commentedon Nov 28, 2018
The installer still needs a single object to drive its creation. why would we drop InstallConfig?
InstallConfigtype's purpose is to be the smallest configuration to create cluster.The purpose of
config.openshift.iois to be complete configuration.eparis commentedon Feb 19, 2019
install config is not something others should be using, so I believe this can be closed....
pkg: Migrate from cluster-config-v1 to Infrastructure.config.openshif…
pkg: Migrate from cluster-config-v1 to Infrastructure.config.openshif…
pkg: Migrate from cluster-config-v1 to Infrastructure.config.openshif…
pkg: Migrate from cluster-config-v1 to Infrastructure.config.openshif…
pkg: Migrate from cluster-config-v1 to Infrastructure.config.openshif…
operator: remove the generated ssh key machineconfig