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

Support import of existing buckets #48

Open
bakito opened this issue Jul 22, 2024 · 1 comment
Open

Support import of existing buckets #48

bakito opened this issue Jul 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bakito
Copy link

bakito commented Jul 22, 2024

Summary

As Cluster Admin
I want a feature
So that I can import existing buckets(resources) into a crossplane resource

Context

According to crossplane documentation it should be possible to import existing resources. https://docs.crossplane.io/latest/guides/import-existing-resources/

When creating a bucket with the required annotation crossplane.io/external-name currently the bucket fails to sync with the error ``

Bucket spec:

apiVersion: minio.crossplane.io/v1
kind: Bucket
metadata:
  annotations:
    crossplane.io/external-name: bucket-local-dev
  name: bucket-local-dev
spec:
  deletionPolicy: Delete
  forProvider: {}
  managementPolicies:
    - '*'
  providerConfigRef:
    name: provider-config

Error Message: "observe failed: bucket already exists, try changing bucket name: bucket-local-dev"

Versions:

  • crossplane: 1.16.0
  • provider-minio: v0.4.0
  • k8s: 1.29

Out of Scope

No response

Further links

No response

Acceptance Criteria

No response

Implementation Ideas

No response

@bakito bakito added the enhancement New feature or request label Jul 22, 2024
@rammelmueller
Copy link

Is there any way to do this with the current version or does this require effort to implement to the operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants