Can `configmap-server` support v1 crd?
Can configmap-server continue to be used in the next few versions?
I see that crd only supports v1beta1, can it support v1?
func (c *ConfigMapLoader) Populate() error {
c.log.Info("loading CRDs")
// first load CRDs into memory; these will be added to the bundle that owns them
crdListYaml, ok := c.configMapData[ConfigMapCRDName]
if !ok {
return fmt.Errorf("couldn't find expected key %s in configmap", ConfigMapCRDName)
}
crdListJson, err := yaml.YAMLToJSON([]byte(crdListYaml))
if err != nil {
c.log.WithError(err).Debug("error loading CRD list")
return err
}
var parsedCRDList []v1beta1.CustomResourceDefinition
if err := json.Unmarshal(crdListJson, &parsedCRDList); err != nil {
c.log.WithError(err).Debug("error parsing CRD list")
return err
}
@awgreene
@everettraven
Hi @AllenZMC . Since SQLite-format catalogs are being deprecated configmap-server is a deprecated command, but we haven't done a good job of communicating that. I've created #1112 to track doing a better job of communicating status for this command. We would be happy to review PRs on the content, but do not have any plans to implement new features for deprecated commands.
Issues go stale after 90 days of inactivity. If there is no further activity, the issue will be closed in another 30 days.
This issue has been closed due to inactivity.