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

fix flux-github-webhook dependency #9

Open
hh opened this issue Mar 14, 2024 · 0 comments
Open

fix flux-github-webhook dependency #9

hh opened this issue Mar 14, 2024 · 0 comments

Comments

@hh
Copy link
Member

hh commented Mar 14, 2024

If we try to apply initially with main.tf / cluster-flux-github-webhook uncommented, we git this error:

╷                                                                                                          
│ Error: Plugin error                                                                                      
│                                                                                                          
│   with module.cluster-flux-github-webhook.kubernetes_manifest.receiver,                                                                                                                     
│   on terraform/flux-github-webhook/main.tf line 16, in resource "kubernetes_manifest" "receiver":        
│   16: resource "kubernetes_manifest" "receiver" {                                                        
│                                                                                                          
│ The plugin returned an unexpected error from plugin.(*GRPCProvider).PlanResourceChange: rpc error: code = Unknown desc = failed to determine resource type ID: failed to look up GVK        
│ [notification.toolkit.fluxcd.io/v1, Kind=Receiver] among available CRDs: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "system:serviceaccount:hh:admin" cannot list reso
│ "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope                     
╵                                                                                         
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

No branches or pull requests

1 participant