gerlowskija commented on issue #301:
URL: https://github.com/apache/solr-operator/issues/301#issuecomment-893584633
I've attached a rough PR that shows how this could be done. Below are an
example 'solrcloud' and 'solrbackup' that use the proposed functionality:
**SolrCloud**
```
apiVersion: solr.apache.org/v1beta1
kind: SolrCloud
metadata:
name: jasons_cluster
spec:
dataStorage:
persistent:
reclaimPolicy: Delete
pvcTemplate:
spec:
resources:
requests:
storage: "5Gi"
backupRestoreOptions:
gcsStorage:
bucket: "solr-log-test"
gcsCredentialSecret: "my-gcs-secret"
baseLocation: "logs"
...
```
**SolrBackup**
```
apiVersion: solr.apache.org/v1beta1
kind: SolrBackup
metadata:
name: gcs_techproducts_backup
namespace: default
spec:
solrCloud: jasons_cluster
collections:
- techproducts
```
(Note that there's no new configuration in 'solrbackup', just the removal of
the 'persistence' section for gcs-backups.)
I'm not wedded to these syntaxes by any means - just wanted to get some
examples up here as a concrete starting point for discussion.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]