You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "anilkhichar (via GitHub)" <gi...@apache.org> on 2023/05/26 00:03:10 UTC

[GitHub] [solr-operator] anilkhichar commented on issue #502: The CustomResourceDefinition "solrclouds.solr.apache.org" is invalid

anilkhichar commented on issue #502:
URL: https://github.com/apache/solr-operator/issues/502#issuecomment-1563646817

   @arogic @HoustonPutman The metadata size error can be removed by taking out all the description content from the CRD using [yq](https://mikefarah.gitbook.io/yq/).
   
   ```
   solr_operator_version=0.6.0
   wget -q https://solr.apache.org/operator/downloads/crds/v$solr_operator_version/all.yaml -O - \
     | yq eval-all 'del(.. | select(has("description")).description)' \
     | kubectl apply -f -
   
   customresourcedefinition.apiextensions.k8s.io/solrbackups.solr.apache.org configured
   customresourcedefinition.apiextensions.k8s.io/solrclouds.solr.apache.org configured
   customresourcedefinition.apiextensions.k8s.io/solrprometheusexporters.solr.apache.org configured
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org