provider-civo
provider-civo copied to clipboard
Added Object Store Support for Crossplane
Added the support for Object Store for Crossplane. [Internal/Controllers/objectstore.go is in progress, please ignore]
Signed-off-by: satakshigarg [email protected]
Description of your changes
Fixes #
I have:
- [x] Read and followed Crossplane's contribution process.
- [x] Run
make reviewable test
to ensure this PR is ready for review.
How has this code been tested
We need access key and secret access key stored in a secret. Similar to how we handle kubeconfig with clusters. I believe it is supposed to a field https://github.com/crossplane-contrib/provider-civo/blob/main/apis/civo/cluster/v1alpha1/types.go#L50
https://github.com/crossplane-contrib/provider-civo/blob/main/apis/civo/cluster/v1alpha1/types.go#L50
@RealHarshThakur so shall I remove the access key from spec struct and just add a var to the secret struct to the spec that contains secret access key and access key ?
We need access key in spec. Yes, add another field called ConnectionDetails
similar to how we did in cluster spec
Can we keep all directory & file names in a small case? (e.g
/ObjectStore
->/objectstore
)LGTM
Sure, I'll update the same