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

[Bug]: Cannot create aws ManagedPrefixList #1218

Closed
1 task done
jorgelon opened this issue Mar 15, 2024 · 6 comments
Closed
1 task done

[Bug]: Cannot create aws ManagedPrefixList #1218

jorgelon opened this issue Mar 15, 2024 · 6 comments
Labels
bug Something isn't working needs:triage stale

Comments

@jorgelon
Copy link

jorgelon commented Mar 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

ec2.aws.upbound.io/v1beta1
ManagedPrefixList

Resource MRs required to reproduce the bug

mylist.yaml

apiVersion: ec2.aws.upbound.io/v1beta1
kind: ManagedPrefixList
metadata:
  name: whatever
spec:
...
resources:
  - mylist.yaml

Steps to Reproduce

kubectl kustomize .
kustomize build .
or argocd sync operation

What happened?

When argocd/kubectl kustomize / kustomize reads the kustomization file, they do not get any resources there.
The reason is related because the kind ends with "List" word. If I change the kind ManagedPrefixList and use ManagedPrefixLisX (for example) it reads and gets a resource

As I can read here
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#types-kinds
#The name of a list kind must end with "List". Lists have a limited set of common metadata. All lists use the required "items" field to contain the array of objects they return. Any kind that has the "items" field must be a list kind.

But I suppose this is not a kubernetes list, right?

Relevant Error Output Snippet

No response

Crossplane Version

1.15.2

Provider Version

v1.2.0

Kubernetes Version

1.29

Kubernetes Distribution

kubeadm

Additional Info

No response

@jorgelon jorgelon added the bug Something isn't working label Mar 15, 2024
@jorgelon jorgelon changed the title [Bug]: Cannot create aws ManagedPrefixList with kustomize/kubectl -k [Bug]: Cannot create aws ManagedPrefixList Mar 15, 2024
@jorgelon
Copy link
Author

Ok, maybe i must create a ManagedPrefixList as a list with ManagedPrefixListEntry as items, right?

@jorgelon
Copy link
Author

Nah, it does not work
Here is the problem
kubernetes-sigs/kustomize#5042

@vibe
Copy link

vibe commented Mar 17, 2024

Have encountered this problem in the past, like you point out it is specific to the kustomize project, either you must apply it outside of kustomize, or apply it directly kubectl apply -f .

With previous conversations with the crossplane team, the suggestion is of course to use crossplane tooling to deploy managed resources.

@jorgelon
Copy link
Author

what tools they have?

Copy link

github-actions bot commented Aug 7, 2024

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Aug 7, 2024
Copy link

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage stale
Projects
None yet
Development

No branches or pull requests

4 participants