Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Object Store Support for Crossplane #32

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

satakshigarg
Copy link

@satakshigarg satakshigarg commented Sep 7, 2022

Added the support for Object Store for Crossplane. [Internal/Controllers/objectstore.go is in progress, please ignore]

Signed-off-by: satakshigarg satakshi@civo.com

Description of your changes

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

@RealHarshThakur
Copy link
Collaborator

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

@satakshigarg
Copy link
Author

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 ?

@RealHarshThakur
Copy link
Collaborator

We need access key in spec. Yes, add another field called ConnectionDetails similar to how we did in cluster spec

@satakshigarg satakshigarg force-pushed the ObjectStore_Crossplane_Support branch from 95555c4 to 298dee3 Compare September 12, 2022 13:08
satakshigarg added 2 commits September 12, 2022 18:40
Signed-off-by: satakshigarg <satakshi@civo.com>
Signed-off-by: satakshigarg <satakshi@civo.com>
@satakshigarg satakshigarg force-pushed the ObjectStore_Crossplane_Support branch from 298dee3 to 622a241 Compare September 12, 2022 13:29
satakshigarg added 2 commits September 12, 2022 22:40
Signed-off-by: satakshigarg <satakshi@civo.com>
Signed-off-by: satakshigarg <satakshi@civo.com>
Copy link
Collaborator

@vishalanarase vishalanarase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep all directory & file names in a small case? (e.g /ObjectStore -> /objectstore)

LGTM

@satakshigarg
Copy link
Author

Can we keep all directory & file names in a small case? (e.g /ObjectStore -> /objectstore)

LGTM

Sure, I'll update the same

satakshigarg added 3 commits September 15, 2022 16:54
Signed-off-by: satakshigarg <satakshi@civo.com>
Signed-off-by: satakshigarg <satakshi@civo.com>
Signed-off-by: satakshigarg <satakshi@civo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants